home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CODE_4_QH Main4.txt < prev    next >
Text File  |  1995-09-30  |  529KB  |  9,648 lines

  1. # near model CODE resource
  2. # jump table entries: 58216-58292 (77 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  E368                     lsl        D0.w, D1
  5. 00000004  0000 653A                ori.b      D0, 0x3A /* ':' */
  6. fn00000008:
  7. 00000008  554F                     subq.w     A7, 2
  8. 0000000A  486D E448                pea.l      [A5 - 0x1BB8]
  9. 0000000E  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  10. 00000012  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  11. 00000016  4EAD E028                jsr        [A5 - 0x1FD8]
  12. 0000001A  3F40 000C                move.w     [A7 + 0xC], D0
  13. 0000001E  4AAD 8A2E                tst.l      [A5 - 0x75D2]
  14. 00000022  4FEF 000C                lea.l      A7, [A7 + 0xC]
  15. 00000026  670A                     beq        +0xC /* 00000032 */
  16. 00000028  2F2D 8A2E                move.l     -[A7], [A5 - 0x75D2]
  17. 0000002C  A983                     syscall    DisposeDialog
  18. 0000002E  42AD 8A2E                clr.l      [A5 - 0x75D2]
  19. label00000032:
  20. 00000032  3017                     move.w     D0, [A7]
  21. 00000034  544F                     addq.w     A7, 2
  22. 00000036  4E75                     rts
  23. fn00000038:
  24. 00000038  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  25. 0000003C  4FEF FF00                lea.l      A7, [A7 - 0x100]
  26. 00000040  246F 011C                movea.l    A2, [A7 + 0x11C]
  27. 00000044  2F2F 0120                move.l     -[A7], [A7 + 0x120]
  28. 00000048  4878 0024                push.l     0x24 /* '$' */
  29. 0000004C  4EAD DB26                jsr        [A5 - 0x24DA]
  30. 00000050  2C48                     movea.l    A6, A0
  31. 00000052  4EAD DB02                jsr        [A5 - 0x24FE]
  32. 00000056  3800                     move.w     D4, D0
  33. 00000058  504F                     addq.w     A7, 8
  34. 0000005A  670C                     beq        +0xE /* 00000068 */
  35. 0000005C  3004                     move.w     D0, D4
  36. 0000005E  4FEF 0100                lea.l      A7, [A7 + 0x100]
  37. 00000062  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  38. 00000066  4E75                     rts
  39. label00000068:
  40. 00000068  2F0E                     move.l     -[A7], A6
  41. 0000006A  4EAD DD80                jsr        [A5 - 0x2280]
  42. 0000006E  2848                     movea.l    A4, A0
  43. 00000070  204C                     movea.l    A0, A4
  44. 00000072  70FF                     moveq.l    D0, 0xFFFFFFFF
  45. label00000074:
  46. 00000074  5280                     addq.l     D0, 1
  47. 00000076  4A18                     tst.b      [A0]+
  48. 00000078  66FA                     bne        -0x4 /* 00000074 */
  49. 0000007A  204C                     movea.l    A0, A4
  50. 0000007C  D1C0                     add.l      A0, D0
  51. 0000007E  5288                     addq.l     A0, 1
  52. 00000080  2648                     movea.l    A3, A0
  53. 00000082  204B                     movea.l    A0, A3
  54. 00000084  70FF                     moveq.l    D0, 0xFFFFFFFF
  55. label00000086:
  56. 00000086  5280                     addq.l     D0, 1
  57. 00000088  4A18                     tst.b      [A0]+
  58. 0000008A  66FA                     bne        -0x4 /* 00000086 */
  59. 0000008C  2600                     move.l     D3, D0
  60. 0000008E  486A 0002                pea.l      [A2 + 0x2]
  61. 00000092  2F0A                     move.l     -[A7], A2
  62. 00000094  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  63. 00000098  3F12                     move.w     -[A7], [A2]
  64. 0000009A  2F0C                     move.l     -[A7], A4
  65. 0000009C  4EAD E020                jsr        [A5 - 0x1FE0]
  66. 000000A0  3800                     move.w     D4, D0
  67. 000000A2  4FEF 0016                lea.l      A7, [A7 + 0x16]
  68. 000000A6  6640                     bne        +0x42 /* 000000E8 */
  69. 000000A8  2003                     move.l     D0, D3
  70. 000000AA  5280                     addq.l     D0, 1
  71. 000000AC  7240                     moveq.l    D1, 0x40
  72. 000000AE  B081                     cmp.l      D0, D1
  73. 000000B0  6502                     bcs        +0x4 /* 000000B4 */
  74. 000000B2  763F                     moveq.l    D3, 0x3F
  75. label000000B4:
  76. 000000B4  204B                     movea.l    A0, A3
  77. 000000B6  43EA 0007                lea.l      A1, [A2 + 0x7]
  78. 000000BA  1543 0006                move.b     [A2 + 0x6], D3
  79. 000000BE  7000                     moveq.l    D0, 0x00
  80. 000000C0  1003                     move.b     D0, D3
  81. 000000C2  A02E                     syscall    BlockMove/BlockMoveData
  82. 000000C4  4857                     pea.l      [A7]
  83. 000000C6  486A 0006                pea.l      [A2 + 0x6]
  84. 000000CA  4EBA 2DCC                jsr        [PC + 0x2DCC /* 00002E98 */]
  85. 000000CE  4A80                     tst.l      D0
  86. 000000D0  504F                     addq.w     A7, 8
  87. 000000D2  6604                     bne        +0x6 /* 000000D8 */
  88. 000000D4  91C8                     sub.l      A0, A0
  89. 000000D6  6002                     bra        +0x4 /* 000000DA */
  90. label000000D8:
  91. 000000D8  41D7                     lea.l      A0, [A7]
  92. label000000DA:
  93. 000000DA  2648                     movea.l    A3, A0
  94. 000000DC  2F0B                     move.l     -[A7], A3
  95. 000000DE  2F0A                     move.l     -[A7], A2
  96. 000000E0  4EBA FF26                jsr        [PC - 0xDA /* 00000008 */]
  97. 000000E4  3800                     move.w     D4, D0
  98. 000000E6  504F                     addq.w     A7, 8
  99. label000000E8:
  100. 000000E8  2F0E                     move.l     -[A7], A6
  101. 000000EA  4EAD DD88                jsr        [A5 - 0x2278]
  102. 000000EE  3004                     move.w     D0, D4
  103. 000000F0  4FEF 0104                lea.l      A7, [A7 + 0x104]
  104. 000000F4  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  105. 000000F8  4E75                     rts
  106. 000000FA  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  107. 000000FE  2C6F 0024                movea.l    A6, [A7 + 0x24]
  108. 00000102  2A2F 002E                move.l     D5, [A7 + 0x2E]
  109. 00000106  362F 0032                move.w     D3, [A7 + 0x32]
  110. 0000010A  2C2F 0034                move.l     D6, [A7 + 0x34]
  111. 0000010E  286F 0038                movea.l    A4, [A7 + 0x38]
  112. 00000112  7800                     moveq.l    D4, 0x00
  113. 00000114  2F0C                     move.l     -[A7], A4
  114. 00000116  2F06                     move.l     -[A7], D6
  115. 00000118  3F03                     move.w     -[A7], D3
  116. 0000011A  2F05                     move.l     -[A7], D5
  117. 0000011C  2F0E                     move.l     -[A7], A6
  118. 0000011E  4EBA 2D28                jsr        [PC + 0x2D28 /* 00002E48 */]
  119. 00000122  4A80                     tst.l      D0
  120. 00000124  4FEF 0012                lea.l      A7, [A7 + 0x12]
  121. 00000128  6708                     beq        +0xA /* 00000132 */
  122. 0000012A  7000                     moveq.l    D0, 0x00
  123. 0000012C  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  124. 00000130  4E75                     rts
  125. label00000132:
  126. 00000132  4EBA 124C                jsr        [PC + 0x124C /* 00001380 */]
  127. 00000136  2648                     movea.l    A3, A0
  128. 00000138  2008                     move.l     D0, A0
  129. 0000013A  660E                     bne        +0x10 /* 0000014A */
  130. 0000013C  554F                     subq.w     A7, 2
  131. 0000013E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  132. 00000142  301F                     move.w     D0, [A7]+
  133. 00000144  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  134. 00000148  4E75                     rts
  135. label0000014A:
  136. 0000014A  2F0B                     move.l     -[A7], A3
  137. 0000014C  4EAD DD80                jsr        [A5 - 0x2280]
  138. 00000150  2448                     movea.l    A2, A0
  139. 00000152  254E 00D6                move.l     [A2 + 0xD6], A6
  140. 00000156  3543 00E2                move.w     [A2 + 0xE2], D3
  141. 0000015A  2545 00E6                move.l     [A2 + 0xE6], D5
  142. 0000015E  2546 00EA                move.l     [A2 + 0xEA], D6
  143. 00000162  356F 002C 00E4           move.w     [A2 + 0xE4], [A7 + 0x2C]
  144. 00000168  206F 002E                movea.l    A0, [A7 + 0x2E]
  145. 0000016C  43EA 0080                lea.l      A1, [A2 + 0x80]
  146. 00000170  7010                     moveq.l    D0, 0x10
  147. label00000172:
  148. 00000172  22D8                     move.l     [A1]+, [A0]+
  149. 00000174  51C8 FFFC                dbf        D0, -0x6 /* 00000172 */
  150. 00000178  32D8                     move.w     [A1]+, [A0]+
  151. 0000017A  3003                     move.w     D0, D3
  152. 0000017C  7201                     moveq.l    D1, 0x01
  153. 0000017E  C081                     and.l      D0, D1
  154. 00000180  584F                     addq.w     A7, 4
  155. 00000182  6712                     beq        +0x14 /* 00000196 */
  156. 00000184  2F05                     move.l     -[A7], D5
  157. 00000186  3F03                     move.w     -[A7], D3
  158. 00000188  2F0A                     move.l     -[A7], A2
  159. 0000018A  4EBA 19D2                jsr        [PC + 0x19D2 /* 00001B5E */]
  160. 0000018E  3800                     move.w     D4, D0
  161. 00000190  4FEF 000A                lea.l      A7, [A7 + 0xA]
  162. 00000194  603E                     bra        +0x40 /* 000001D4 */
  163. label00000196:
  164. 00000196  0803 0008                btst.b     D3, 0x8
  165. 0000019A  6714                     beq        +0x16 /* 000001B0 */
  166. 0000019C  42A7                     clr.l      -[A7]
  167. 0000019E  2F05                     move.l     -[A7], D5
  168. 000001A0  3F03                     move.w     -[A7], D3
  169. 000001A2  2F0A                     move.l     -[A7], A2
  170. 000001A4  4EBA 1646                jsr        [PC + 0x1646 /* 000017EC */]
  171. 000001A8  3800                     move.w     D4, D0
  172. 000001AA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  173. 000001AE  6024                     bra        +0x26 /* 000001D4 */
  174. label000001B0:
  175. 000001B0  0803 000B                btst.b     D3, 0xB
  176. 000001B4  670E                     beq        +0x10 /* 000001C4 */
  177. 000001B6  2F05                     move.l     -[A7], D5
  178. 000001B8  2F0A                     move.l     -[A7], A2
  179. 000001BA  4EBA 11FE                jsr        [PC + 0x11FE /* 000013BA */]
  180. 000001BE  3800                     move.w     D4, D0
  181. 000001C0  504F                     addq.w     A7, 8
  182. 000001C2  6010                     bra        +0x12 /* 000001D4 */
  183. label000001C4:
  184. 000001C4  0803 000C                btst.b     D3, 0xC
  185. 000001C8  670A                     beq        +0xC /* 000001D4 */
  186. 000001CA  2F0A                     move.l     -[A7], A2
  187. 000001CC  4EBA 1400                jsr        [PC + 0x1400 /* 000015CE */]
  188. 000001D0  3800                     move.w     D4, D0
  189. 000001D2  584F                     addq.w     A7, 4
  190. label000001D4:
  191. 000001D4  2F0B                     move.l     -[A7], A3
  192. 000001D6  4EAD DD88                jsr        [A5 - 0x2278]
  193. 000001DA  2F0B                     move.l     -[A7], A3
  194. 000001DC  486D 8A3A                pea.l      [A5 - 0x75C6]
  195. 000001E0  4EBA 1142                jsr        [PC + 0x1142 /* 00001324 */]
  196. 000001E4  288B                     move.l     [A4], A3
  197. 000001E6  3004                     move.w     D0, D4
  198. 000001E8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  199. 000001EC  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  200. 000001F0  4E75                     rts
  201. fn000001F2:
  202. 000001F2  48E7 0038                movem.l    -[A7], A2,A3,A4
  203. 000001F6  266F 0010                movea.l    A3, [A7 + 0x10]
  204. 000001FA  2F0B                     move.l     -[A7], A3
  205. 000001FC  4EAD DD80                jsr        [A5 - 0x2280]
  206. 00000200  2448                     movea.l    A2, A0
  207. 00000202  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  208. 00000208  584F                     addq.w     A7, 4
  209. 0000020A  6716                     beq        +0x18 /* 00000222 */
  210. 0000020C  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  211. 00000210  303C 018B                move.w     D0, 0x18B
  212. 00000214  AAAA                     syscall    QuickTimeDispatch
  213. 00000216  2F2A 0020                move.l     -[A7], [A2 + 0x20]
  214. 0000021A  7023                     moveq.l    D0, 0x23
  215. 0000021C  AAAA                     syscall    QuickTimeDispatch
  216. 0000021E  6000 00C0                bra        +0xC2 /* 000002E0 */
  217. label00000222:
  218. 00000222  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  219. 00000228  675E                     beq        +0x60 /* 00000288 */
  220. 0000022A  42A7                     clr.l      -[A7]
  221. 0000022C  2F0A                     move.l     -[A7], A2
  222. 0000022E  4EBA 2818                jsr        [PC + 0x2818 /* 00002A48 */]
  223. 00000232  4AAA 004E                tst.l      [A2 + 0x4E]
  224. 00000236  504F                     addq.w     A7, 8
  225. 00000238  6706                     beq        +0x8 /* 00000240 */
  226. 0000023A  2F2A 004E                move.l     -[A7], [A2 + 0x4E]
  227. 0000023E  A955                     syscall    DisposeControl
  228. label00000240:
  229. 00000240  4AAA 0052                tst.l      [A2 + 0x52]
  230. 00000244  6706                     beq        +0x8 /* 0000024C */
  231. 00000246  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  232. 0000024A  A955                     syscall    DisposeControl
  233. label0000024C:
  234. 0000024C  4AAA 0056                tst.l      [A2 + 0x56]
  235. 00000250  6706                     beq        +0x8 /* 00000258 */
  236. 00000252  2F2A 0056                move.l     -[A7], [A2 + 0x56]
  237. 00000256  A955                     syscall    DisposeControl
  238. label00000258:
  239. 00000258  4AAA 005A                tst.l      [A2 + 0x5A]
  240. 0000025C  6706                     beq        +0x8 /* 00000264 */
  241. 0000025E  2F2A 005A                move.l     -[A7], [A2 + 0x5A]
  242. 00000262  A955                     syscall    DisposeControl
  243. label00000264:
  244. 00000264  4A6A 0068                tst.w      [A2 + 0x68]
  245. 00000268  6776                     beq        +0x78 /* 000002E0 */
  246. 0000026A  082A 0004 006C           btst.b     [A2 + 0x6C], 0x4
  247. 00000270  6708                     beq        +0xA /* 0000027A */
  248. 00000272  3F2A 0068                move.w     -[A7], [A2 + 0x68]
  249. 00000276  A99A                     syscall    CloseResFile
  250. 00000278  6066                     bra        +0x68 /* 000002E0 */
  251. label0000027A:
  252. 0000027A  554F                     subq.w     A7, 2
  253. 0000027C  3F2A 0068                move.w     -[A7], [A2 + 0x68]
  254. 00000280  4EAD D9CA                jsr        [A5 - 0x2636]
  255. 00000284  301F                     move.w     D0, [A7]+
  256. 00000286  6058                     bra        +0x5A /* 000002E0 */
  257. label00000288:
  258. 00000288  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  259. 0000028E  673C                     beq        +0x3E /* 000002CC */
  260. 00000290  4AAA 0010                tst.l      [A2 + 0x10]
  261. 00000294  6724                     beq        +0x26 /* 000002BA */
  262. 00000296  42A7                     clr.l      -[A7]
  263. 00000298  4878 0001                push.l     0x1
  264. 0000029C  2F0A                     move.l     -[A7], A2
  265. 0000029E  4EBA 148E                jsr        [PC + 0x148E /* 0000172E */]
  266. 000002A2  2848                     movea.l    A4, A0
  267. 000002A4  2F0C                     move.l     -[A7], A4
  268. 000002A6  206A 0010                movea.l    A0, [A2 + 0x10]
  269. 000002AA  4E90                     jsr        [A0]
  270. 000002AC  42A7                     clr.l      -[A7]
  271. 000002AE  42A7                     clr.l      -[A7]
  272. 000002B0  2F0A                     move.l     -[A7], A2
  273. 000002B2  4EBA 147A                jsr        [PC + 0x147A /* 0000172E */]
  274. 000002B6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  275. label000002BA:
  276. 000002BA  4AAA 0038                tst.l      [A2 + 0x38]
  277. 000002BE  6720                     beq        +0x22 /* 000002E0 */
  278. 000002C0  2F2A 0038                move.l     -[A7], [A2 + 0x38]
  279. 000002C4  4EAD F490                jsr        [A5 - 0xB70]
  280. 000002C8  584F                     addq.w     A7, 4
  281. 000002CA  6014                     bra        +0x16 /* 000002E0 */
  282. label000002CC:
  283. 000002CC  082A 0002 00F2           btst.b     [A2 + 0xF2], 0x2
  284. 000002D2  670C                     beq        +0xE /* 000002E0 */
  285. 000002D4  4AAA 0014                tst.l      [A2 + 0x14]
  286. 000002D8  6706                     beq        +0x8 /* 000002E0 */
  287. 000002DA  206A 0014                movea.l    A0, [A2 + 0x14]
  288. 000002DE  A023                     syscall    DisposHandle/DisposeHandle
  289. label000002E0:
  290. 000002E0  4AAA 00C6                tst.l      [A2 + 0xC6]
  291. 000002E4  6706                     beq        +0x8 /* 000002EC */
  292. 000002E6  206A 00C6                movea.l    A0, [A2 + 0xC6]
  293. 000002EA  A023                     syscall    DisposHandle/DisposeHandle
  294. label000002EC:
  295. 000002EC  4AAA 00DA                tst.l      [A2 + 0xDA]
  296. 000002F0  6706                     beq        +0x8 /* 000002F8 */
  297. 000002F2  2F2A 00DA                move.l     -[A7], [A2 + 0xDA]
  298. 000002F6  A8D9                     syscall    DisposRgn/DisposeRgn
  299. label000002F8:
  300. 000002F8  4AAA 00DE                tst.l      [A2 + 0xDE]
  301. 000002FC  6706                     beq        +0x8 /* 00000304 */
  302. 000002FE  2F2A 00DE                move.l     -[A7], [A2 + 0xDE]
  303. 00000302  A8D9                     syscall    DisposRgn/DisposeRgn
  304. label00000304:
  305. 00000304  2F0B                     move.l     -[A7], A3
  306. 00000306  4EAD DD88                jsr        [A5 - 0x2278]
  307. 0000030A  2F0B                     move.l     -[A7], A3
  308. 0000030C  486D 8A3A                pea.l      [A5 - 0x75C6]
  309. 00000310  4EBA 1038                jsr        [PC + 0x1038 /* 0000134A */]
  310. 00000314  2F0B                     move.l     -[A7], A3
  311. 00000316  486D 8A36                pea.l      [A5 - 0x75CA]
  312. 0000031A  4EBA 1008                jsr        [PC + 0x1008 /* 00001324 */]
  313. 0000031E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  314. 00000322  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  315. 00000326  4E75                     rts
  316. 00000328  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  317. 0000032C  2C6F 0018                movea.l    A6, [A7 + 0x18]
  318. 00000330  262F 001C                move.l     D3, [A7 + 0x1C]
  319. 00000334  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  320. 00000338  6022                     bra        +0x24 /* 0000035C */
  321. label0000033A:
  322. 0000033A  2453                     movea.l    A2, [A3]
  323. 0000033C  2852                     movea.l    A4, [A2]
  324. 0000033E  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  325. 00000344  6714                     beq        +0x16 /* 0000035A */
  326. 00000346  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  327. 0000034A  660E                     bne        +0x10 /* 0000035A */
  328. 0000034C  B6AA 00EA                cmp.l      D3, [A2 + 0xEA]
  329. 00000350  6608                     bne        +0xA /* 0000035A */
  330. 00000352  2F0B                     move.l     -[A7], A3
  331. 00000354  4EBA FE9C                jsr        [PC - 0x164 /* 000001F2 */]
  332. 00000358  584F                     addq.w     A7, 4
  333. label0000035A:
  334. 0000035A  264C                     movea.l    A3, A4
  335. label0000035C:
  336. 0000035C  200B                     move.l     D0, A3
  337. 0000035E  66DA                     bne        -0x24 /* 0000033A */
  338. 00000360  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  339. 00000364  4E75                     rts
  340. 00000366  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  341. 0000036A  2C6F 0018                movea.l    A6, [A7 + 0x18]
  342. 0000036E  262F 001C                move.l     D3, [A7 + 0x1C]
  343. 00000372  246D 8A3A                movea.l    A2, [A5 - 0x75C6]
  344. 00000376  601A                     bra        +0x1C /* 00000392 */
  345. label00000378:
  346. 00000378  2652                     movea.l    A3, [A2]
  347. 0000037A  2853                     movea.l    A4, [A3]
  348. 0000037C  BDEB 00D6                cmpa.l     A6, [A3 + 0xD6]
  349. 00000380  660E                     bne        +0x10 /* 00000390 */
  350. 00000382  B6AB 00EA                cmp.l      D3, [A3 + 0xEA]
  351. 00000386  6608                     bne        +0xA /* 00000390 */
  352. 00000388  2F0A                     move.l     -[A7], A2
  353. 0000038A  4EBA FE66                jsr        [PC - 0x19A /* 000001F2 */]
  354. 0000038E  584F                     addq.w     A7, 4
  355. label00000390:
  356. 00000390  244C                     movea.l    A2, A4
  357. label00000392:
  358. 00000392  200A                     move.l     D0, A2
  359. 00000394  66E2                     bne        -0x1C /* 00000378 */
  360. 00000396  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  361. 0000039A  4E75                     rts
  362. 0000039C  2F0C                     move.l     -[A7], A4
  363. 0000039E  286F 0008                movea.l    A4, [A7 + 0x8]
  364. 000003A2  222F 000C                move.l     D1, [A7 + 0xC]
  365. 000003A6  226D 8A3A                movea.l    A1, [A5 - 0x75C6]
  366. 000003AA  6014                     bra        +0x16 /* 000003C0 */
  367. label000003AC:
  368. 000003AC  2051                     movea.l    A0, [A1]
  369. 000003AE  B9E8 00D6                cmpa.l     A4, [A0 + 0xD6]
  370. 000003B2  660A                     bne        +0xC /* 000003BE */
  371. 000003B4  B2A8 00EA                cmp.l      D1, [A0 + 0xEA]
  372. 000003B8  6C04                     bge        +0x6 /* 000003BE */
  373. 000003BA  53A8 00EA                subq.l     [A0 + 0xEA], 1
  374. label000003BE:
  375. 000003BE  2250                     movea.l    A1, [A0]
  376. label000003C0:
  377. 000003C0  2009                     move.l     D0, A1
  378. 000003C2  66E8                     bne        -0x16 /* 000003AC */
  379. 000003C4  285F                     movea.l    A4, [A7]+
  380. 000003C6  4E75                     rts
  381. 000003C8  2F0C                     move.l     -[A7], A4
  382. 000003CA  286F 0008                movea.l    A4, [A7 + 0x8]
  383. 000003CE  242F 000C                move.l     D2, [A7 + 0xC]
  384. 000003D2  222F 0010                move.l     D1, [A7 + 0x10]
  385. 000003D6  226D 8A3A                movea.l    A1, [A5 - 0x75C6]
  386. 000003DA  601E                     bra        +0x20 /* 000003FA */
  387. label000003DC:
  388. 000003DC  2051                     movea.l    A0, [A1]
  389. 000003DE  2250                     movea.l    A1, [A0]
  390. 000003E0  B9E8 00D6                cmpa.l     A4, [A0 + 0xD6]
  391. 000003E4  6612                     bne        +0x14 /* 000003F8 */
  392. 000003E6  B2A8 00EA                cmp.l      D1, [A0 + 0xEA]
  393. 000003EA  660C                     bne        +0xE /* 000003F8 */
  394. 000003EC  0828 0007 00F2           btst.b     [A0 + 0xF2], 0x7
  395. 000003F2  6604                     bne        +0x6 /* 000003F8 */
  396. 000003F4  2142 00EE                move.l     [A0 + 0xEE], D2
  397. label000003F8:
  398. 000003F8  2250                     movea.l    A1, [A0]
  399. label000003FA:
  400. 000003FA  2009                     move.l     D0, A1
  401. 000003FC  66DE                     bne        -0x20 /* 000003DC */
  402. 000003FE  285F                     movea.l    A4, [A7]+
  403. 00000400  4E75                     rts
  404. 00000402  2F0C                     move.l     -[A7], A4
  405. 00000404  286F 0008                movea.l    A4, [A7 + 0x8]
  406. 00000408  222F 000C                move.l     D1, [A7 + 0xC]
  407. 0000040C  226D 8A3A                movea.l    A1, [A5 - 0x75C6]
  408. 00000410  6016                     bra        +0x18 /* 00000428 */
  409. label00000412:
  410. 00000412  2051                     movea.l    A0, [A1]
  411. 00000414  B9E8 00D6                cmpa.l     A4, [A0 + 0xD6]
  412. 00000418  660C                     bne        +0xE /* 00000426 */
  413. 0000041A  B2A8 00EA                cmp.l      D1, [A0 + 0xEA]
  414. 0000041E  6606                     bne        +0x8 /* 00000426 */
  415. 00000420  0028 0080 00F2           ori.b      [A0 + 0xF2], 0x80
  416. label00000426:
  417. 00000426  2250                     movea.l    A1, [A0]
  418. label00000428:
  419. 00000428  2009                     move.l     D0, A1
  420. 0000042A  66E6                     bne        -0x18 /* 00000412 */
  421. 0000042C  285F                     movea.l    A4, [A7]+
  422. 0000042E  4E75                     rts
  423. 00000430  206F 0004                movea.l    A0, [A7 + 0x4]
  424. 00000434  2250                     movea.l    A1, [A0]
  425. 00000436  3029 0072                move.w     D0, [A1 + 0x72]
  426. 0000043A  48C0                     ext.l      D0
  427. 0000043C  3229 0076                move.w     D1, [A1 + 0x76]
  428. 00000440  48C1                     ext.l      D1
  429. 00000442  9280                     sub.l      D1, D0
  430. 00000444  206F 0008                movea.l    A0, [A7 + 0x8]
  431. 00000448  3081                     move.w     [A0], D1
  432. 0000044A  3029 0070                move.w     D0, [A1 + 0x70]
  433. 0000044E  48C0                     ext.l      D0
  434. 00000450  3229 0074                move.w     D1, [A1 + 0x74]
  435. 00000454  48C1                     ext.l      D1
  436. 00000456  9280                     sub.l      D1, D0
  437. 00000458  206F 000C                movea.l    A0, [A7 + 0xC]
  438. 0000045C  3081                     move.w     [A0], D1
  439. 0000045E  4E75                     rts
  440. 00000460  2F0A                     move.l     -[A7], A2
  441. 00000462  514F                     subq.w     A7, 8
  442. 00000464  206F 0010                movea.l    A0, [A7 + 0x10]
  443. 00000468  2450                     movea.l    A2, [A0]
  444. 0000046A  082A 0002 00F2           btst.b     [A2 + 0xF2], 0x2
  445. 00000470  6718                     beq        +0x1A /* 0000048A */
  446. 00000472  4857                     pea.l      [A7]
  447. 00000474  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  448. 00000478  2F0A                     move.l     -[A7], A2
  449. 0000047A  4EBA 1A96                jsr        [PC + 0x1A96 /* 00001F12 */]
  450. 0000047E  206A 0018                movea.l    A0, [A2 + 0x18]
  451. 00000482  4FEF 0014                lea.l      A7, [A7 + 0x14]
  452. 00000486  245F                     movea.l    A2, [A7]+
  453. 00000488  4E75                     rts
  454. label0000048A:
  455. 0000048A  91C8                     sub.l      A0, A0
  456. 0000048C  504F                     addq.w     A7, 8
  457. 0000048E  245F                     movea.l    A2, [A7]+
  458. 00000490  4E75                     rts
  459. 00000492  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  460. 00000496  514F                     subq.w     A7, 8
  461. 00000498  2C6F 0020                movea.l    A6, [A7 + 0x20]
  462. 0000049C  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  463. 000004A0  200B                     move.l     D0, A3
  464. 000004A2  6700 009A                beq        +0x9C /* 0000053E */
  465. 000004A6  1F3C 000E                move.b     -[A7], 0xE
  466. 000004AA  2F0E                     move.l     -[A7], A6
  467. 000004AC  4EAD E818                jsr        [A5 - 0x17E8]
  468. 000004B0  2848                     movea.l    A4, A0
  469. 000004B2  200C                     move.l     D0, A4
  470. 000004B4  5C4F                     addq.w     A7, 6
  471. 000004B6  6700 0086                beq        +0x88 /* 0000053E */
  472. 000004BA  2F0E                     move.l     -[A7], A6
  473. 000004BC  4EAD DD40                jsr        [A5 - 0x22C0]
  474. 000004C0  584F                     addq.w     A7, 4
  475. 000004C2  6072                     bra        +0x74 /* 00000536 */
  476. label000004C4:
  477. 000004C4  2453                     movea.l    A2, [A3]
  478. 000004C6  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  479. 000004CA  6666                     bne        +0x68 /* 00000532 */
  480. 000004CC  082A 0002 00F2           btst.b     [A2 + 0xF2], 0x2
  481. 000004D2  675E                     beq        +0x60 /* 00000532 */
  482. 000004D4  42A7                     clr.l      -[A7]
  483. 000004D6  42A7                     clr.l      -[A7]
  484. 000004D8  486F 000C                pea.l      [A7 + 0xC]
  485. 000004DC  486F 000C                pea.l      [A7 + 0xC]
  486. 000004E0  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  487. 000004E4  3F2A 00E4                move.w     -[A7], [A2 + 0xE4]
  488. 000004E8  4EAD DC70                jsr        [A5 - 0x2390]
  489. 000004EC  3600                     move.w     D3, D0
  490. 000004EE  4AAF 001A                tst.l      [A7 + 0x1A]
  491. 000004F2  4FEF 0016                lea.l      A7, [A7 + 0x16]
  492. 000004F6  6720                     beq        +0x22 /* 00000518 */
  493. 000004F8  206F 0004                movea.l    A0, [A7 + 0x4]
  494. 000004FC  A04A                     syscall    HNoPurge
  495. 000004FE  42A7                     clr.l      -[A7]
  496. 00000500  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  497. 00000504  42A7                     clr.l      -[A7]
  498. 00000506  2F0C                     move.l     -[A7], A4
  499. 00000508  4EAD DBC2                jsr        [A5 - 0x243E]
  500. 0000050C  206F 0014                movea.l    A0, [A7 + 0x14]
  501. 00000510  A049                     syscall    HPurge
  502. 00000512  4FEF 0010                lea.l      A7, [A7 + 0x10]
  503. 00000516  601A                     bra        +0x1C /* 00000532 */
  504. label00000518:
  505. 00000518  2057                     movea.l    A0, [A7]
  506. 0000051A  A04A                     syscall    HNoPurge
  507. 0000051C  2F17                     move.l     -[A7], [A7]
  508. 0000051E  42A7                     clr.l      -[A7]
  509. 00000520  42A7                     clr.l      -[A7]
  510. 00000522  2F0C                     move.l     -[A7], A4
  511. 00000524  4EAD DBC2                jsr        [A5 - 0x243E]
  512. 00000528  206F 0010                movea.l    A0, [A7 + 0x10]
  513. 0000052C  A049                     syscall    HPurge
  514. 0000052E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  515. label00000532:
  516. 00000532  2053                     movea.l    A0, [A3]
  517. 00000534  2650                     movea.l    A3, [A0]
  518. label00000536:
  519. 00000536  200B                     move.l     D0, A3
  520. 00000538  668A                     bne        -0x74 /* 000004C4 */
  521. 0000053A  4EAD DD48                jsr        [A5 - 0x22B8]
  522. label0000053E:
  523. 0000053E  504F                     addq.w     A7, 8
  524. 00000540  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  525. 00000544  4E75                     rts
  526. 00000546  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  527. 0000054A  282F 0020                move.l     D4, [A7 + 0x20]
  528. 0000054E  2A2F 0024                move.l     D5, [A7 + 0x24]
  529. 00000552  262F 0028                move.l     D3, [A7 + 0x28]
  530. 00000556  2C6F 002C                movea.l    A6, [A7 + 0x2C]
  531. 0000055A  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  532. 0000055E  200B                     move.l     D0, A3
  533. 00000560  677A                     beq        +0x7C /* 000005DC */
  534. 00000562  2F04                     move.l     -[A7], D4
  535. 00000564  4EAD DD40                jsr        [A5 - 0x22C0]
  536. 00000568  584F                     addq.w     A7, 4
  537. 0000056A  6068                     bra        +0x6A /* 000005D4 */
  538. label0000056C:
  539. 0000056C  2F0B                     move.l     -[A7], A3
  540. 0000056E  4EAD DD80                jsr        [A5 - 0x2280]
  541. 00000572  2448                     movea.l    A2, A0
  542. 00000574  B8AA 00D6                cmp.l      D4, [A2 + 0xD6]
  543. 00000578  584F                     addq.w     A7, 4
  544. 0000057A  664E                     bne        +0x50 /* 000005CA */
  545. 0000057C  BAAA 00EA                cmp.l      D5, [A2 + 0xEA]
  546. 00000580  6648                     bne        +0x4A /* 000005CA */
  547. 00000582  4AAA 00EE                tst.l      [A2 + 0xEE]
  548. 00000586  6604                     bne        +0x6 /* 0000058C */
  549. 00000588  2043                     movea.l    A0, D3
  550. 0000058A  6002                     bra        +0x4 /* 0000058E */
  551. label0000058C:
  552. 0000058C  204E                     movea.l    A0, A6
  553. label0000058E:
  554. 0000058E  2848                     movea.l    A4, A0
  555. 00000590  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  556. 00000596  6716                     beq        +0x18 /* 000005AE */
  557. 00000598  594F                     subq.w     A7, 4
  558. 0000059A  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  559. 0000059E  2F0C                     move.l     -[A7], A4
  560. 000005A0  2F0C                     move.l     -[A7], A4
  561. 000005A2  2F3C 0008 0028           move.l     -[A7], 0x80028
  562. 000005A8  7000                     moveq.l    D0, 0x00
  563. 000005AA  A82A                     syscall    ComponentDispatch
  564. 000005AC  201F                     move.l     D0, [A7]+
  565. label000005AE:
  566. 000005AE  4AAA 00DA                tst.l      [A2 + 0xDA]
  567. 000005B2  6708                     beq        +0xA /* 000005BC */
  568. 000005B4  2F03                     move.l     -[A7], D3
  569. 000005B6  2F2A 00DA                move.l     -[A7], [A2 + 0xDA]
  570. 000005BA  A8DC                     syscall    CopyRgn
  571. label000005BC:
  572. 000005BC  4AAA 00DE                tst.l      [A2 + 0xDE]
  573. 000005C0  6708                     beq        +0xA /* 000005CA */
  574. 000005C2  2F0E                     move.l     -[A7], A6
  575. 000005C4  2F2A 00DE                move.l     -[A7], [A2 + 0xDE]
  576. 000005C8  A8DC                     syscall    CopyRgn
  577. label000005CA:
  578. 000005CA  2F0B                     move.l     -[A7], A3
  579. 000005CC  4EAD DD88                jsr        [A5 - 0x2278]
  580. 000005D0  2652                     movea.l    A3, [A2]
  581. 000005D2  584F                     addq.w     A7, 4
  582. label000005D4:
  583. 000005D4  200B                     move.l     D0, A3
  584. 000005D6  6694                     bne        -0x6A /* 0000056C */
  585. 000005D8  4EAD DD48                jsr        [A5 - 0x22B8]
  586. label000005DC:
  587. 000005DC  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  588. 000005E0  4E75                     rts
  589. fn000005E2:
  590. 000005E2  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  591. 000005E6  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  592. 000005EA  2C6F 0030                movea.l    A6, [A7 + 0x30]
  593. 000005EE  2C2F 0034                move.l     D6, [A7 + 0x34]
  594. 000005F2  3A2F 0038                move.w     D5, [A7 + 0x38]
  595. 000005F6  382F 003A                move.w     D4, [A7 + 0x3A]
  596. 000005FA  262F 003C                move.l     D3, [A7 + 0x3C]
  597. 000005FE  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  598. 00000602  200B                     move.l     D0, A3
  599. 00000604  6700 0112                beq        +0x114 /* 00000718 */
  600. 00000608  2F0E                     move.l     -[A7], A6
  601. 0000060A  4EAD DD40                jsr        [A5 - 0x22C0]
  602. 0000060E  584F                     addq.w     A7, 4
  603. 00000610  6000 00FC                bra        +0xFE /* 0000070E */
  604. label00000614:
  605. 00000614  2F0B                     move.l     -[A7], A3
  606. 00000616  4EAD DD80                jsr        [A5 - 0x2280]
  607. 0000061A  2448                     movea.l    A2, A0
  608. 0000061C  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  609. 00000620  584F                     addq.w     A7, 4
  610. 00000622  6600 00E0                bne        +0xE2 /* 00000704 */
  611. 00000626  B6AA 00EE                cmp.l      D3, [A2 + 0xEE]
  612. 0000062A  6600 00D8                bne        +0xDA /* 00000704 */
  613. 0000062E  BCAA 00EA                cmp.l      D6, [A2 + 0xEA]
  614. 00000632  6600 00D0                bne        +0xD2 /* 00000704 */
  615. 00000636  2F6A 0078 0004           move.l     [A7 + 0x4], [A2 + 0x78]
  616. 0000063C  2F6A 007C 0008           move.l     [A7 + 0x8], [A2 + 0x7C]
  617. 00000642  486F 0004                pea.l      [A7 + 0x4]
  618. 00000646  3F05                     move.w     -[A7], D5
  619. 00000648  3F04                     move.w     -[A7], D4
  620. 0000064A  A8A8                     syscall    OffsetRect
  621. 0000064C  554F                     subq.w     A7, 2
  622. 0000064E  486A 0070                pea.l      [A2 + 0x70]
  623. 00000652  486F 000A                pea.l      [A7 + 0xA]
  624. 00000656  A8A6                     syscall    EqualRect
  625. 00000658  101F                     move.b     D0, [A7]+
  626. 0000065A  6600 00A8                bne        +0xAA /* 00000704 */
  627. 0000065E  256F 0004 0070           move.l     [A2 + 0x70], [A7 + 0x4]
  628. 00000664  256F 0008 0074           move.l     [A2 + 0x74], [A7 + 0x8]
  629. 0000066A  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  630. 00000670  674A                     beq        +0x4C /* 000006BC */
  631. 00000672  286A 0024                movea.l    A4, [A2 + 0x24]
  632. 00000676  42A7                     clr.l      -[A7]
  633. 00000678  4EAD DD50                jsr        [A5 - 0x22B0]
  634. 0000067C  486F 0008                pea.l      [A7 + 0x8]
  635. 00000680  2F0B                     move.l     -[A7], A3
  636. 00000682  4EBA 1B02                jsr        [PC + 0x1B02 /* 00002186 */]
  637. 00000686  2F0C                     move.l     -[A7], A4
  638. 00000688  3F3C 002A                move.w     -[A7], 0x2A /* '*' */
  639. 0000068C  486F 0012                pea.l      [A7 + 0x12]
  640. 00000690  2F3C 0006 0009           move.l     -[A7], 0x60009
  641. 00000696  7000                     moveq.l    D0, 0x00
  642. 00000698  A82A                     syscall    ComponentDispatch
  643. 0000069A  201F                     move.l     D0, [A7]+
  644. 0000069C  4AAF 0008                tst.l      [A7 + 0x8]
  645. 000006A0  504F                     addq.w     A7, 8
  646. 000006A2  6712                     beq        +0x14 /* 000006B6 */
  647. 000006A4  594F                     subq.w     A7, 4
  648. 000006A6  2F0C                     move.l     -[A7], A4
  649. 000006A8  2F0E                     move.l     -[A7], A6
  650. 000006AA  2F3C 0004 0018           move.l     -[A7], 0x40018
  651. 000006B0  7000                     moveq.l    D0, 0x00
  652. 000006B2  A82A                     syscall    ComponentDispatch
  653. 000006B4  201F                     move.l     D0, [A7]+
  654. label000006B6:
  655. 000006B6  4EAD DD58                jsr        [A5 - 0x22A8]
  656. 000006BA  6048                     bra        +0x4A /* 00000704 */
  657. label000006BC:
  658. 000006BC  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  659. 000006C2  670A                     beq        +0xC /* 000006CE */
  660. 000006C4  2F0A                     move.l     -[A7], A2
  661. 000006C6  4EBA 2206                jsr        [PC + 0x2206 /* 000028CE */]
  662. 000006CA  584F                     addq.w     A7, 4
  663. 000006CC  6036                     bra        +0x38 /* 00000704 */
  664. label000006CE:
  665. 000006CE  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  666. 000006D4  672E                     beq        +0x30 /* 00000704 */
  667. 000006D6  4AAA 000C                tst.l      [A2 + 0xC]
  668. 000006DA  6728                     beq        +0x2A /* 00000704 */
  669. 000006DC  42A7                     clr.l      -[A7]
  670. 000006DE  4878 0001                push.l     0x1
  671. 000006E2  2F0A                     move.l     -[A7], A2
  672. 000006E4  4EBA 1048                jsr        [PC + 0x1048 /* 0000172E */]
  673. 000006E8  2848                     movea.l    A4, A0
  674. 000006EA  2F0C                     move.l     -[A7], A4
  675. 000006EC  486A 0070                pea.l      [A2 + 0x70]
  676. 000006F0  206A 000C                movea.l    A0, [A2 + 0xC]
  677. 000006F4  4E90                     jsr        [A0]
  678. 000006F6  42A7                     clr.l      -[A7]
  679. 000006F8  42A7                     clr.l      -[A7]
  680. 000006FA  2F0A                     move.l     -[A7], A2
  681. 000006FC  4EBA 1030                jsr        [PC + 0x1030 /* 0000172E */]
  682. 00000700  4FEF 0018                lea.l      A7, [A7 + 0x18]
  683. label00000704:
  684. 00000704  2F0B                     move.l     -[A7], A3
  685. 00000706  4EAD DD88                jsr        [A5 - 0x2278]
  686. 0000070A  2652                     movea.l    A3, [A2]
  687. 0000070C  584F                     addq.w     A7, 4
  688. label0000070E:
  689. 0000070E  200B                     move.l     D0, A3
  690. 00000710  6600 FF02                bne        -0xFC /* 00000614 */
  691. 00000714  4EAD DD48                jsr        [A5 - 0x22B8]
  692. label00000718:
  693. 00000718  4FEF 000C                lea.l      A7, [A7 + 0xC]
  694. 0000071C  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  695. 00000720  4E75                     rts
  696. 00000722  48E7 0038                movem.l    -[A7], A2,A3,A4
  697. 00000726  266F 0010                movea.l    A3, [A7 + 0x10]
  698. 0000072A  286F 0014                movea.l    A4, [A7 + 0x14]
  699. 0000072E  2453                     movea.l    A2, [A3]
  700. 00000730  2554 0078                move.l     [A2 + 0x78], [A4]
  701. 00000734  256C 0004 007C           move.l     [A2 + 0x7C], [A4 + 0x4]
  702. 0000073A  2554 0070                move.l     [A2 + 0x70], [A4]
  703. 0000073E  256C 0004 0074           move.l     [A2 + 0x74], [A4 + 0x4]
  704. 00000744  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  705. 0000074A  670C                     beq        +0xE /* 00000758 */
  706. 0000074C  2F0C                     move.l     -[A7], A4
  707. 0000074E  2F0B                     move.l     -[A7], A3
  708. 00000750  4EBA 1A34                jsr        [PC + 0x1A34 /* 00002186 */]
  709. 00000754  504F                     addq.w     A7, 8
  710. 00000756  6064                     bra        +0x66 /* 000007BC */
  711. label00000758:
  712. 00000758  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  713. 0000075E  6718                     beq        +0x1A /* 00000778 */
  714. 00000760  2F0B                     move.l     -[A7], A3
  715. 00000762  4EAD DD80                jsr        [A5 - 0x2280]
  716. 00000766  584F                     addq.w     A7, 4
  717. 00000768  2F08                     move.l     -[A7], A0
  718. 0000076A  4EBA 2162                jsr        [PC + 0x2162 /* 000028CE */]
  719. 0000076E  2F0B                     move.l     -[A7], A3
  720. 00000770  4EAD DD88                jsr        [A5 - 0x2278]
  721. 00000774  504F                     addq.w     A7, 8
  722. 00000776  6044                     bra        +0x46 /* 000007BC */
  723. label00000778:
  724. 00000778  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  725. 0000077E  673C                     beq        +0x3E /* 000007BC */
  726. 00000780  4AAA 000C                tst.l      [A2 + 0xC]
  727. 00000784  6736                     beq        +0x38 /* 000007BC */
  728. 00000786  2F0B                     move.l     -[A7], A3
  729. 00000788  4EAD DD80                jsr        [A5 - 0x2280]
  730. 0000078C  2448                     movea.l    A2, A0
  731. 0000078E  42A7                     clr.l      -[A7]
  732. 00000790  4878 0001                push.l     0x1
  733. 00000794  2F0A                     move.l     -[A7], A2
  734. 00000796  4EBA 0F96                jsr        [PC + 0xF96 /* 0000172E */]
  735. 0000079A  2848                     movea.l    A4, A0
  736. 0000079C  2F0C                     move.l     -[A7], A4
  737. 0000079E  486A 0070                pea.l      [A2 + 0x70]
  738. 000007A2  206A 000C                movea.l    A0, [A2 + 0xC]
  739. 000007A6  4E90                     jsr        [A0]
  740. 000007A8  42A7                     clr.l      -[A7]
  741. 000007AA  42A7                     clr.l      -[A7]
  742. 000007AC  2F0A                     move.l     -[A7], A2
  743. 000007AE  4EBA 0F7E                jsr        [PC + 0xF7E /* 0000172E */]
  744. 000007B2  2F0B                     move.l     -[A7], A3
  745. 000007B4  4EAD DD88                jsr        [A5 - 0x2278]
  746. 000007B8  4FEF 0020                lea.l      A7, [A7 + 0x20]
  747. label000007BC:
  748. 000007BC  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  749. 000007C0  4E75                     rts
  750. 000007C2  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  751. 000007C6  594F                     subq.w     A7, 4
  752. 000007C8  2C6F 0020                movea.l    A6, [A7 + 0x20]
  753. 000007CC  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  754. 000007D0  7600                     moveq.l    D3, 0x00
  755. 000007D2  7800                     moveq.l    D4, 0x00
  756. 000007D4  6000 00C8                bra        +0xCA /* 0000089E */
  757. label000007D8:
  758. 000007D8  2F0B                     move.l     -[A7], A3
  759. 000007DA  4EAD DD80                jsr        [A5 - 0x2280]
  760. 000007DE  2448                     movea.l    A2, A0
  761. 000007E0  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  762. 000007E4  584F                     addq.w     A7, 4
  763. 000007E6  6600 00AC                bne        +0xAE /* 00000894 */
  764. 000007EA  554F                     subq.w     A7, 2
  765. 000007EC  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  766. 000007F0  486A 0070                pea.l      [A2 + 0x70]
  767. 000007F4  A8AD                     syscall    PtInRect
  768. 000007F6  101F                     move.b     D0, [A7]+
  769. 000007F8  6700 009A                beq        +0x9C /* 00000894 */
  770. 000007FC  7601                     moveq.l    D3, 0x01
  771. 000007FE  2803                     move.l     D4, D3
  772. 00000800  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  773. 00000806  6730                     beq        +0x32 /* 00000838 */
  774. 00000808  4AAA 0024                tst.l      [A2 + 0x24]
  775. 0000080C  672A                     beq        +0x2C /* 00000838 */
  776. 0000080E  42A7                     clr.l      -[A7]
  777. 00000810  4878 0001                push.l     0x1
  778. 00000814  2F0A                     move.l     -[A7], A2
  779. 00000816  4EBA 0F16                jsr        [PC + 0xF16 /* 0000172E */]
  780. 0000081A  2848                     movea.l    A4, A0
  781. 0000081C  2F0C                     move.l     -[A7], A4
  782. 0000081E  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  783. 00000822  206A 0024                movea.l    A0, [A2 + 0x24]
  784. 00000826  4E90                     jsr        [A0]
  785. 00000828  42A7                     clr.l      -[A7]
  786. 0000082A  42A7                     clr.l      -[A7]
  787. 0000082C  2F0A                     move.l     -[A7], A2
  788. 0000082E  4EBA 0EFE                jsr        [PC + 0xEFE /* 0000172E */]
  789. 00000832  4FEF 0018                lea.l      A7, [A7 + 0x18]
  790. 00000836  605C                     bra        +0x5E /* 00000894 */
  791. label00000838:
  792. 00000838  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  793. 0000083E  672A                     beq        +0x2C /* 0000086A */
  794. 00000840  554F                     subq.w     A7, 2
  795. 00000842  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  796. 00000846  2F0E                     move.l     -[A7], A6
  797. 00000848  486F 000A                pea.l      [A7 + 0xA]
  798. 0000084C  A96C                     syscall    FindControl
  799. 0000084E  301F                     move.w     D0, [A7]+
  800. 00000850  6604                     bne        +0x6 /* 00000856 */
  801. 00000852  7000                     moveq.l    D0, 0x00
  802. 00000854  600C                     bra        +0xE /* 00000862 */
  803. label00000856:
  804. 00000856  302D 135E                move.w     D0, [A5 + 0x135E]
  805. 0000085A  48C0                     ext.l      D0
  806. 0000085C  0680 0000 0082           addi.l     D0, 0x82
  807. label00000862:
  808. 00000862  3F00                     move.w     -[A7], D0
  809. 00000864  4EAD DDA0                jsr        [A5 - 0x2260]
  810. 00000868  602A                     bra        +0x2C /* 00000894 */
  811. label0000086A:
  812. 0000086A  082A 0002 00F2           btst.b     [A2 + 0xF2], 0x2
  813. 00000870  6704                     beq        +0x6 /* 00000876 */
  814. 00000872  7600                     moveq.l    D3, 0x00
  815. 00000874  601E                     bra        +0x20 /* 00000894 */
  816. label00000876:
  817. 00000876  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  818. 0000087C  6604                     bne        +0x6 /* 00000882 */
  819. 0000087E  7000                     moveq.l    D0, 0x00
  820. 00000880  600C                     bra        +0xE /* 0000088E */
  821. label00000882:
  822. 00000882  302D 135E                move.w     D0, [A5 + 0x135E]
  823. 00000886  48C0                     ext.l      D0
  824. 00000888  0680 0000 0082           addi.l     D0, 0x82
  825. label0000088E:
  826. 0000088E  3F00                     move.w     -[A7], D0
  827. 00000890  4EAD DDA0                jsr        [A5 - 0x2260]
  828. label00000894:
  829. 00000894  2F0B                     move.l     -[A7], A3
  830. 00000896  4EAD DD88                jsr        [A5 - 0x2278]
  831. 0000089A  2652                     movea.l    A3, [A2]
  832. 0000089C  584F                     addq.w     A7, 4
  833. label0000089E:
  834. 0000089E  200B                     move.l     D0, A3
  835. 000008A0  6706                     beq        +0x8 /* 000008A8 */
  836. 000008A2  4A84                     tst.l      D4
  837. 000008A4  6700 FF32                beq        -0xCC /* 000007D8 */
  838. label000008A8:
  839. 000008A8  2003                     move.l     D0, D3
  840. 000008AA  584F                     addq.w     A7, 4
  841. 000008AC  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  842. 000008B0  4E75                     rts
  843. 000008B2  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  844. 000008B6  2C6F 0018                movea.l    A6, [A7 + 0x18]
  845. 000008BA  262F 001C                move.l     D3, [A7 + 0x1C]
  846. 000008BE  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  847. 000008C2  604E                     bra        +0x50 /* 00000912 */
  848. label000008C4:
  849. 000008C4  2F0B                     move.l     -[A7], A3
  850. 000008C6  4EAD DD80                jsr        [A5 - 0x2280]
  851. 000008CA  2448                     movea.l    A2, A0
  852. 000008CC  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  853. 000008D0  584F                     addq.w     A7, 4
  854. 000008D2  6634                     bne        +0x36 /* 00000908 */
  855. 000008D4  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  856. 000008DA  672C                     beq        +0x2E /* 00000908 */
  857. 000008DC  4AAA 0030                tst.l      [A2 + 0x30]
  858. 000008E0  6726                     beq        +0x28 /* 00000908 */
  859. 000008E2  42A7                     clr.l      -[A7]
  860. 000008E4  4878 0001                push.l     0x1
  861. 000008E8  2F0A                     move.l     -[A7], A2
  862. 000008EA  4EBA 0E42                jsr        [PC + 0xE42 /* 0000172E */]
  863. 000008EE  2848                     movea.l    A4, A0
  864. 000008F0  2F0C                     move.l     -[A7], A4
  865. 000008F2  3F03                     move.w     -[A7], D3
  866. 000008F4  206A 0030                movea.l    A0, [A2 + 0x30]
  867. 000008F8  4E90                     jsr        [A0]
  868. 000008FA  42A7                     clr.l      -[A7]
  869. 000008FC  42A7                     clr.l      -[A7]
  870. 000008FE  2F0A                     move.l     -[A7], A2
  871. 00000900  4EBA 0E2C                jsr        [PC + 0xE2C /* 0000172E */]
  872. 00000904  4FEF 0018                lea.l      A7, [A7 + 0x18]
  873. label00000908:
  874. 00000908  2F0B                     move.l     -[A7], A3
  875. 0000090A  4EAD DD88                jsr        [A5 - 0x2278]
  876. 0000090E  2652                     movea.l    A3, [A2]
  877. 00000910  584F                     addq.w     A7, 4
  878. label00000912:
  879. 00000912  200B                     move.l     D0, A3
  880. 00000914  66AE                     bne        -0x50 /* 000008C4 */
  881. 00000916  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  882. 0000091A  4E75                     rts
  883. 0000091C  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  884. 00000920  286F 0018                movea.l    A4, [A7 + 0x18]
  885. 00000924  382F 001C                move.w     D4, [A7 + 0x1C]
  886. 00000928  362F 001E                move.w     D3, [A7 + 0x1E]
  887. 0000092C  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  888. 00000930  200B                     move.l     D0, A3
  889. 00000932  661A                     bne        +0x1C /* 0000094E */
  890. 00000934  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  891. 00000938  4E75                     rts
  892. label0000093A:
  893. 0000093A  2453                     movea.l    A2, [A3]
  894. 0000093C  B9EA 00D6                cmpa.l     A4, [A2 + 0xD6]
  895. 00000940  660A                     bne        +0xC /* 0000094C */
  896. 00000942  486A 0070                pea.l      [A2 + 0x70]
  897. 00000946  3F04                     move.w     -[A7], D4
  898. 00000948  3F03                     move.w     -[A7], D3
  899. 0000094A  A8A8                     syscall    OffsetRect
  900. label0000094C:
  901. 0000094C  2652                     movea.l    A3, [A2]
  902. label0000094E:
  903. 0000094E  200B                     move.l     D0, A3
  904. 00000950  66E8                     bne        -0x16 /* 0000093A */
  905. 00000952  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  906. 00000956  4E75                     rts
  907. 00000958  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  908. 0000095C  262F 0024                move.l     D3, [A7 + 0x24]
  909. 00000960  282F 0028                move.l     D4, [A7 + 0x28]
  910. 00000964  2C2F 002C                move.l     D6, [A7 + 0x2C]
  911. 00000968  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  912. 0000096C  99CC                     sub.l      A4, A4
  913. 0000096E  9DCE                     sub.l      A6, A6
  914. 00000970  200B                     move.l     D0, A3
  915. 00000972  663A                     bne        +0x3C /* 000009AE */
  916. 00000974  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  917. 00000978  4E75                     rts
  918. label0000097A:
  919. 0000097A  2453                     movea.l    A2, [A3]
  920. 0000097C  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  921. 00000982  6728                     beq        +0x2A /* 000009AC */
  922. 00000984  4AAA 00EE                tst.l      [A2 + 0xEE]
  923. 00000988  6622                     bne        +0x24 /* 000009AC */
  924. 0000098A  B6AA 00D6                cmp.l      D3, [A2 + 0xD6]
  925. 0000098E  6608                     bne        +0xA /* 00000998 */
  926. 00000990  200C                     move.l     D0, A4
  927. 00000992  6610                     bne        +0x12 /* 000009A4 */
  928. 00000994  284B                     movea.l    A4, A3
  929. 00000996  600C                     bra        +0xE /* 000009A4 */
  930. label00000998:
  931. 00000998  B8AA 00D6                cmp.l      D4, [A2 + 0xD6]
  932. 0000099C  6606                     bne        +0x8 /* 000009A4 */
  933. 0000099E  200E                     move.l     D0, A6
  934. 000009A0  6602                     bne        +0x4 /* 000009A4 */
  935. 000009A2  2C4B                     movea.l    A6, A3
  936. label000009A4:
  937. 000009A4  200C                     move.l     D0, A4
  938. 000009A6  6704                     beq        +0x6 /* 000009AC */
  939. 000009A8  200E                     move.l     D0, A6
  940. 000009AA  6606                     bne        +0x8 /* 000009B2 */
  941. label000009AC:
  942. 000009AC  2652                     movea.l    A3, [A2]
  943. label000009AE:
  944. 000009AE  200B                     move.l     D0, A3
  945. 000009B0  66C8                     bne        -0x36 /* 0000097A */
  946. label000009B2:
  947. 000009B2  200C                     move.l     D0, A4
  948. 000009B4  6700 0086                beq        +0x88 /* 00000A3C */
  949. 000009B8  200E                     move.l     D0, A6
  950. 000009BA  6700 0080                beq        +0x82 /* 00000A3C */
  951. 000009BE  2454                     movea.l    A2, [A4]
  952. 000009C0  2656                     movea.l    A3, [A6]
  953. 000009C2  4A86                     tst.l      D6
  954. 000009C4  6742                     beq        +0x44 /* 00000A08 */
  955. 000009C6  302A 007A                move.w     D0, [A2 + 0x7A]
  956. 000009CA  48C0                     ext.l      D0
  957. 000009CC  322A 0072                move.w     D1, [A2 + 0x72]
  958. 000009D0  48C1                     ext.l      D1
  959. 000009D2  9280                     sub.l      D1, D0
  960. 000009D4  3B41 8A2C                move.w     [A5 - 0x75D4], D1
  961. 000009D8  302A 0078                move.w     D0, [A2 + 0x78]
  962. 000009DC  48C0                     ext.l      D0
  963. 000009DE  322A 0070                move.w     D1, [A2 + 0x70]
  964. 000009E2  48C1                     ext.l      D1
  965. 000009E4  9280                     sub.l      D1, D0
  966. 000009E6  3B41 8A2A                move.w     [A5 - 0x75D6], D1
  967. 000009EA  302A 007A                move.w     D0, [A2 + 0x7A]
  968. 000009EE  48C0                     ext.l      D0
  969. 000009F0  382B 0072                move.w     D4, [A3 + 0x72]
  970. 000009F4  48C4                     ext.l      D4
  971. 000009F6  9880                     sub.l      D4, D0
  972. 000009F8  302A 0078                move.w     D0, [A2 + 0x78]
  973. 000009FC  48C0                     ext.l      D0
  974. 000009FE  3A2B 0070                move.w     D5, [A3 + 0x70]
  975. 00000A02  48C5                     ext.l      D5
  976. 00000A04  9A80                     sub.l      D5, D0
  977. 00000A06  6008                     bra        +0xA /* 00000A10 */
  978. label00000A08:
  979. 00000A08  382D 8A2C                move.w     D4, [A5 - 0x75D4]
  980. 00000A0C  3A2D 8A2A                move.w     D5, [A5 - 0x75D6]
  981. label00000A10:
  982. 00000A10  2F03                     move.l     -[A7], D3
  983. 00000A12  4EAD DD40                jsr        [A5 - 0x22C0]
  984. 00000A16  A896                     syscall    HidePen
  985. 00000A18  42A7                     clr.l      -[A7]
  986. 00000A1A  3F05                     move.w     -[A7], D5
  987. 00000A1C  3F04                     move.w     -[A7], D4
  988. 00000A1E  42A7                     clr.l      -[A7]
  989. 00000A20  2F03                     move.l     -[A7], D3
  990. 00000A22  4EBA FBBE                jsr        [PC - 0x442 /* 000005E2 */]
  991. 00000A26  A897                     syscall    ShowPen
  992. 00000A28  4A86                     tst.l      D6
  993. 00000A2A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  994. 00000A2E  6608                     bne        +0xA /* 00000A38 */
  995. 00000A30  2043                     movea.l    A0, D3
  996. 00000A32  4868 0010                pea.l      [A0 + 0x10]
  997. 00000A36  A928                     syscall    InvalRect
  998. label00000A38:
  999. 00000A38  4EAD DD48                jsr        [A5 - 0x22B8]
  1000. label00000A3C:
  1001. 00000A3C  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  1002. 00000A40  4E75                     rts
  1003. 00000A42  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  1004. 00000A46  262F 0018                move.l     D3, [A7 + 0x18]
  1005. 00000A4A  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  1006. 00000A4E  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  1007. 00000A52  200B                     move.l     D0, A3
  1008. 00000A54  6600 00EA                bne        +0xEC /* 00000B40 */
  1009. 00000A58  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  1010. 00000A5C  4E75                     rts
  1011. label00000A5E:
  1012. 00000A5E  2F0B                     move.l     -[A7], A3
  1013. 00000A60  4EAD DD80                jsr        [A5 - 0x2280]
  1014. 00000A64  2448                     movea.l    A2, A0
  1015. 00000A66  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1016. 00000A6C  584F                     addq.w     A7, 4
  1017. 00000A6E  676C                     beq        +0x6E /* 00000ADC */
  1018. 00000A70  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  1019. 00000A74  6600 00C0                bne        +0xC2 /* 00000B36 */
  1020. 00000A78  4AAA 0034                tst.l      [A2 + 0x34]
  1021. 00000A7C  6754                     beq        +0x56 /* 00000AD2 */
  1022. 00000A7E  4878 0001                push.l     0x1
  1023. 00000A82  4878 0001                push.l     0x1
  1024. 00000A86  2F0A                     move.l     -[A7], A2
  1025. 00000A88  4EBA 0CA4                jsr        [PC + 0xCA4 /* 0000172E */]
  1026. 00000A8C  2848                     movea.l    A4, A0
  1027. 00000A8E  4AAA 000C                tst.l      [A2 + 0xC]
  1028. 00000A92  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1029. 00000A96  671C                     beq        +0x1E /* 00000AB4 */
  1030. 00000A98  2F0E                     move.l     -[A7], A6
  1031. 00000A9A  4EAD DD40                jsr        [A5 - 0x22C0]
  1032. 00000A9E  A896                     syscall    HidePen
  1033. 00000AA0  2F0C                     move.l     -[A7], A4
  1034. 00000AA2  486A 0070                pea.l      [A2 + 0x70]
  1035. 00000AA6  206A 000C                movea.l    A0, [A2 + 0xC]
  1036. 00000AAA  4E90                     jsr        [A0]
  1037. 00000AAC  A897                     syscall    ShowPen
  1038. 00000AAE  4EAD DD48                jsr        [A5 - 0x22B8]
  1039. 00000AB2  584F                     addq.w     A7, 4
  1040. label00000AB4:
  1041. 00000AB4  2F0C                     move.l     -[A7], A4
  1042. 00000AB6  486A 0070                pea.l      [A2 + 0x70]
  1043. 00000ABA  206A 0034                movea.l    A0, [A2 + 0x34]
  1044. 00000ABE  4E90                     jsr        [A0]
  1045. 00000AC0  4878 0001                push.l     0x1
  1046. 00000AC4  42A7                     clr.l      -[A7]
  1047. 00000AC6  2F0A                     move.l     -[A7], A2
  1048. 00000AC8  4EBA 0C64                jsr        [PC + 0xC64 /* 0000172E */]
  1049. 00000ACC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1050. 00000AD0  6064                     bra        +0x66 /* 00000B36 */
  1051. label00000AD2:
  1052. 00000AD2  2F0A                     move.l     -[A7], A2
  1053. 00000AD4  4EBA 2542                jsr        [PC + 0x2542 /* 00003018 */]
  1054. 00000AD8  584F                     addq.w     A7, 4
  1055. 00000ADA  605A                     bra        +0x5C /* 00000B36 */
  1056. label00000ADC:
  1057. 00000ADC  B6AA 00D6                cmp.l      D3, [A2 + 0xD6]
  1058. 00000AE0  6654                     bne        +0x56 /* 00000B36 */
  1059. 00000AE2  4AAA 00C6                tst.l      [A2 + 0xC6]
  1060. 00000AE6  6708                     beq        +0xA /* 00000AF0 */
  1061. 00000AE8  2F0B                     move.l     -[A7], A3
  1062. 00000AEA  4EBA 17F6                jsr        [PC + 0x17F6 /* 000022E2 */]
  1063. 00000AEE  584F                     addq.w     A7, 4
  1064. label00000AF0:
  1065. 00000AF0  082A 0002 00F2           btst.b     [A2 + 0xF2], 0x2
  1066. 00000AF6  670A                     beq        +0xC /* 00000B02 */
  1067. 00000AF8  2F0A                     move.l     -[A7], A2
  1068. 00000AFA  4EBA 1484                jsr        [PC + 0x1484 /* 00001F80 */]
  1069. 00000AFE  584F                     addq.w     A7, 4
  1070. 00000B00  6034                     bra        +0x36 /* 00000B36 */
  1071. label00000B02:
  1072. 00000B02  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  1073. 00000B08  670A                     beq        +0xC /* 00000B14 */
  1074. 00000B0A  2F0A                     move.l     -[A7], A2
  1075. 00000B0C  4EBA 250A                jsr        [PC + 0x250A /* 00003018 */]
  1076. 00000B10  584F                     addq.w     A7, 4
  1077. 00000B12  6022                     bra        +0x24 /* 00000B36 */
  1078. label00000B14:
  1079. 00000B14  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  1080. 00000B1A  670A                     beq        +0xC /* 00000B26 */
  1081. 00000B1C  2F0A                     move.l     -[A7], A2
  1082. 00000B1E  4EBA 253C                jsr        [PC + 0x253C /* 0000305C */]
  1083. 00000B22  584F                     addq.w     A7, 4
  1084. 00000B24  6010                     bra        +0x12 /* 00000B36 */
  1085. label00000B26:
  1086. 00000B26  082A 0005 00F2           btst.b     [A2 + 0xF2], 0x5
  1087. 00000B2C  6708                     beq        +0xA /* 00000B36 */
  1088. 00000B2E  2F0A                     move.l     -[A7], A2
  1089. 00000B30  4EBA 1532                jsr        [PC + 0x1532 /* 00002064 */]
  1090. 00000B34  584F                     addq.w     A7, 4
  1091. label00000B36:
  1092. 00000B36  2F0B                     move.l     -[A7], A3
  1093. 00000B38  4EAD DD88                jsr        [A5 - 0x2278]
  1094. 00000B3C  2652                     movea.l    A3, [A2]
  1095. 00000B3E  584F                     addq.w     A7, 4
  1096. label00000B40:
  1097. 00000B40  200B                     move.l     D0, A3
  1098. 00000B42  6600 FF1A                bne        -0xE4 /* 00000A5E */
  1099. 00000B46  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  1100. 00000B4A  4E75                     rts
  1101. 00000B4C  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  1102. 00000B50  514F                     subq.w     A7, 8
  1103. 00000B52  2C6F 002C                movea.l    A6, [A7 + 0x2C]
  1104. 00000B56  2A2F 0030                move.l     D5, [A7 + 0x30]
  1105. 00000B5A  2C2F 0034                move.l     D6, [A7 + 0x34]
  1106. 00000B5E  286D 8A3A                movea.l    A4, [A5 - 0x75C6]
  1107. 00000B62  200C                     move.l     D0, A4
  1108. 00000B64  6700 0174                beq        +0x176 /* 00000CDA */
  1109. 00000B68  2F0E                     move.l     -[A7], A6
  1110. 00000B6A  4EAD DD40                jsr        [A5 - 0x22C0]
  1111. 00000B6E  584F                     addq.w     A7, 4
  1112. 00000B70  6000 015E                bra        +0x160 /* 00000CD0 */
  1113. label00000B74:
  1114. 00000B74  2F0C                     move.l     -[A7], A4
  1115. 00000B76  4EAD DD80                jsr        [A5 - 0x2280]
  1116. 00000B7A  2448                     movea.l    A2, A0
  1117. 00000B7C  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  1118. 00000B80  584F                     addq.w     A7, 4
  1119. 00000B82  6600 0142                bne        +0x144 /* 00000CC6 */
  1120. 00000B86  BCAA 00EA                cmp.l      D6, [A2 + 0xEA]
  1121. 00000B8A  6600 013A                bne        +0x13C /* 00000CC6 */
  1122. 00000B8E  4A85                     tst.l      D5
  1123. 00000B90  670C                     beq        +0xE /* 00000B9E */
  1124. 00000B92  2045                     movea.l    A0, D5
  1125. 00000B94  202A 00EE                move.l     D0, [A2 + 0xEE]
  1126. 00000B98  B090                     cmp.l      D0, [A0]
  1127. 00000B9A  6600 012A                bne        +0x12C /* 00000CC6 */
  1128. label00000B9E:
  1129. 00000B9E  2EAA 0070                move.l     [A7], [A2 + 0x70]
  1130. 00000BA2  2F6A 0074 0004           move.l     [A7 + 0x4], [A2 + 0x74]
  1131. 00000BA8  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1132. 00000BAE  660C                     bne        +0xE /* 00000BBC */
  1133. 00000BB0  256A 0078 0070           move.l     [A2 + 0x70], [A2 + 0x78]
  1134. 00000BB6  256A 007C 0074           move.l     [A2 + 0x74], [A2 + 0x7C]
  1135. label00000BBC:
  1136. 00000BBC  4AAA 00C6                tst.l      [A2 + 0xC6]
  1137. 00000BC0  6708                     beq        +0xA /* 00000BCA */
  1138. 00000BC2  2F0C                     move.l     -[A7], A4
  1139. 00000BC4  4EBA 171C                jsr        [PC + 0x171C /* 000022E2 */]
  1140. 00000BC8  584F                     addq.w     A7, 4
  1141. label00000BCA:
  1142. 00000BCA  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  1143. 00000BD0  6608                     bne        +0xA /* 00000BDA */
  1144. 00000BD2  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  1145. 00000BD8  670C                     beq        +0xE /* 00000BE6 */
  1146. label00000BDA:
  1147. 00000BDA  2F0A                     move.l     -[A7], A2
  1148. 00000BDC  4EBA 243A                jsr        [PC + 0x243A /* 00003018 */]
  1149. 00000BE0  584F                     addq.w     A7, 4
  1150. 00000BE2  6000 00D0                bra        +0xD2 /* 00000CB4 */
  1151. label00000BE6:
  1152. 00000BE6  082A 0005 00F2           btst.b     [A2 + 0xF2], 0x5
  1153. 00000BEC  670C                     beq        +0xE /* 00000BFA */
  1154. 00000BEE  2F0A                     move.l     -[A7], A2
  1155. 00000BF0  4EBA 1472                jsr        [PC + 0x1472 /* 00002064 */]
  1156. 00000BF4  584F                     addq.w     A7, 4
  1157. 00000BF6  6000 00BC                bra        +0xBE /* 00000CB4 */
  1158. label00000BFA:
  1159. 00000BFA  082A 0002 00F2           btst.b     [A2 + 0xF2], 0x2
  1160. 00000C00  670C                     beq        +0xE /* 00000C0E */
  1161. 00000C02  2F0A                     move.l     -[A7], A2
  1162. 00000C04  4EBA 137A                jsr        [PC + 0x137A /* 00001F80 */]
  1163. 00000C08  584F                     addq.w     A7, 4
  1164. 00000C0A  6000 00A8                bra        +0xAA /* 00000CB4 */
  1165. label00000C0E:
  1166. 00000C0E  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1167. 00000C14  6700 009E                beq        +0xA0 /* 00000CB4 */
  1168. 00000C18  4AAA 0014                tst.l      [A2 + 0x14]
  1169. 00000C1C  6700 0096                beq        +0x98 /* 00000CB4 */
  1170. 00000C20  4878 0001                push.l     0x1
  1171. 00000C24  4878 0001                push.l     0x1
  1172. 00000C28  2F0A                     move.l     -[A7], A2
  1173. 00000C2A  4EBA 0B02                jsr        [PC + 0xB02 /* 0000172E */]
  1174. 00000C2E  2608                     move.l     D3, A0
  1175. 00000C30  282E 0018                move.l     D4, [A6 + 0x18]
  1176. 00000C34  A8D8                     syscall    NewRgn
  1177. 00000C36  205F                     movea.l    A0, [A7]+
  1178. 00000C38  2648                     movea.l    A3, A0
  1179. 00000C3A  4AAA 000C                tst.l      [A2 + 0xC]
  1180. 00000C3E  504F                     addq.w     A7, 8
  1181. 00000C40  6710                     beq        +0x12 /* 00000C52 */
  1182. 00000C42  A896                     syscall    HidePen
  1183. 00000C44  2F03                     move.l     -[A7], D3
  1184. 00000C46  486A 0078                pea.l      [A2 + 0x78]
  1185. 00000C4A  206A 000C                movea.l    A0, [A2 + 0xC]
  1186. 00000C4E  4E90                     jsr        [A0]
  1187. 00000C50  A897                     syscall    ShowPen
  1188. label00000C52:
  1189. 00000C52  200B                     move.l     D0, A3
  1190. 00000C54  6714                     beq        +0x16 /* 00000C6A */
  1191. 00000C56  2F0B                     move.l     -[A7], A3
  1192. 00000C58  2F3C 8001 8001           move.l     -[A7], 0x80018001
  1193. 00000C5E  2F3C 7FFF 7FFF           move.l     -[A7], 0x7FFF7FFF
  1194. 00000C64  A8DE                     syscall    SetRecRgn
  1195. 00000C66  2D4B 0018                move.l     [A6 + 0x18], A3
  1196. label00000C6A:
  1197. 00000C6A  2F03                     move.l     -[A7], D3
  1198. 00000C6C  486A 0078                pea.l      [A2 + 0x78]
  1199. 00000C70  206A 0014                movea.l    A0, [A2 + 0x14]
  1200. 00000C74  4E90                     jsr        [A0]
  1201. 00000C76  2D44 0018                move.l     [A6 + 0x18], D4
  1202. 00000C7A  200B                     move.l     D0, A3
  1203. 00000C7C  6704                     beq        +0x6 /* 00000C82 */
  1204. 00000C7E  2F0B                     move.l     -[A7], A3
  1205. 00000C80  A8D9                     syscall    DisposRgn/DisposeRgn
  1206. label00000C82:
  1207. 00000C82  4AAA 000C                tst.l      [A2 + 0xC]
  1208. 00000C86  6712                     beq        +0x14 /* 00000C9A */
  1209. 00000C88  A896                     syscall    HidePen
  1210. 00000C8A  2F03                     move.l     -[A7], D3
  1211. 00000C8C  486F 0004                pea.l      [A7 + 0x4]
  1212. 00000C90  206A 000C                movea.l    A0, [A2 + 0xC]
  1213. 00000C94  4E90                     jsr        [A0]
  1214. 00000C96  A897                     syscall    ShowPen
  1215. 00000C98  600A                     bra        +0xC /* 00000CA4 */
  1216. label00000C9A:
  1217. 00000C9A  2557 0070                move.l     [A2 + 0x70], [A7]
  1218. 00000C9E  256F 0004 0074           move.l     [A2 + 0x74], [A7 + 0x4]
  1219. label00000CA4:
  1220. 00000CA4  4878 0001                push.l     0x1
  1221. 00000CA8  42A7                     clr.l      -[A7]
  1222. 00000CAA  2F0A                     move.l     -[A7], A2
  1223. 00000CAC  4EBA 0A80                jsr        [PC + 0xA80 /* 0000172E */]
  1224. 00000CB0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1225. label00000CB4:
  1226. 00000CB4  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1227. 00000CBA  660A                     bne        +0xC /* 00000CC6 */
  1228. 00000CBC  2557 0070                move.l     [A2 + 0x70], [A7]
  1229. 00000CC0  256F 0004 0074           move.l     [A2 + 0x74], [A7 + 0x4]
  1230. label00000CC6:
  1231. 00000CC6  2F0C                     move.l     -[A7], A4
  1232. 00000CC8  4EAD DD88                jsr        [A5 - 0x2278]
  1233. 00000CCC  2852                     movea.l    A4, [A2]
  1234. 00000CCE  584F                     addq.w     A7, 4
  1235. label00000CD0:
  1236. 00000CD0  200C                     move.l     D0, A4
  1237. 00000CD2  6600 FEA0                bne        -0x15E /* 00000B74 */
  1238. 00000CD6  4EAD DD48                jsr        [A5 - 0x22B8]
  1239. label00000CDA:
  1240. 00000CDA  504F                     addq.w     A7, 8
  1241. 00000CDC  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  1242. 00000CE0  4E75                     rts
  1243. 00000CE2  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  1244. 00000CE6  286F 001C                movea.l    A4, [A7 + 0x1C]
  1245. 00000CEA  262F 0020                move.l     D3, [A7 + 0x20]
  1246. 00000CEE  282F 0024                move.l     D4, [A7 + 0x24]
  1247. 00000CF2  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  1248. 00000CF6  200B                     move.l     D0, A3
  1249. 00000CF8  6700 0132                beq        +0x134 /* 00000E2C */
  1250. 00000CFC  2F0C                     move.l     -[A7], A4
  1251. 00000CFE  4EAD DD40                jsr        [A5 - 0x22C0]
  1252. 00000D02  584F                     addq.w     A7, 4
  1253. 00000D04  6000 011C                bra        +0x11E /* 00000E22 */
  1254. label00000D08:
  1255. 00000D08  2F0B                     move.l     -[A7], A3
  1256. 00000D0A  4EAD DD80                jsr        [A5 - 0x2280]
  1257. 00000D0E  2448                     movea.l    A2, A0
  1258. 00000D10  B9EA 00D6                cmpa.l     A4, [A2 + 0xD6]
  1259. 00000D14  584F                     addq.w     A7, 4
  1260. 00000D16  6600 0100                bne        +0x102 /* 00000E18 */
  1261. 00000D1A  B8AA 00EA                cmp.l      D4, [A2 + 0xEA]
  1262. 00000D1E  6600 00F8                bne        +0xFA /* 00000E18 */
  1263. 00000D22  554F                     subq.w     A7, 2
  1264. 00000D24  486A 0070                pea.l      [A2 + 0x70]
  1265. 00000D28  2F2C 0018                move.l     -[A7], [A4 + 0x18]
  1266. 00000D2C  A8E9                     syscall    RectInRgn
  1267. 00000D2E  101F                     move.b     D0, [A7]+
  1268. 00000D30  6700 00DE                beq        +0xE0 /* 00000E10 */
  1269. 00000D34  4A83                     tst.l      D3
  1270. 00000D36  670C                     beq        +0xE /* 00000D44 */
  1271. 00000D38  2043                     movea.l    A0, D3
  1272. 00000D3A  202A 00EE                move.l     D0, [A2 + 0xEE]
  1273. 00000D3E  B090                     cmp.l      D0, [A0]
  1274. 00000D40  6600 00CE                bne        +0xD0 /* 00000E10 */
  1275. label00000D44:
  1276. 00000D44  4AAA 00C6                tst.l      [A2 + 0xC6]
  1277. 00000D48  6708                     beq        +0xA /* 00000D52 */
  1278. 00000D4A  2F0B                     move.l     -[A7], A3
  1279. 00000D4C  4EBA 1594                jsr        [PC + 0x1594 /* 000022E2 */]
  1280. 00000D50  584F                     addq.w     A7, 4
  1281. label00000D52:
  1282. 00000D52  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  1283. 00000D58  6720                     beq        +0x22 /* 00000D7A */
  1284. 00000D5A  42A7                     clr.l      -[A7]
  1285. 00000D5C  4EAD DD50                jsr        [A5 - 0x22B0]
  1286. 00000D60  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1287. 00000D64  2F0C                     move.l     -[A7], A4
  1288. 00000D66  2F3C 0004 0018           move.l     -[A7], 0x40018
  1289. 00000D6C  7000                     moveq.l    D0, 0x00
  1290. 00000D6E  A82A                     syscall    ComponentDispatch
  1291. 00000D70  201F                     move.l     D0, [A7]+
  1292. 00000D72  4EAD DD58                jsr        [A5 - 0x22A8]
  1293. 00000D76  6000 0098                bra        +0x9A /* 00000E10 */
  1294. label00000D7A:
  1295. 00000D7A  082A 0005 00F2           btst.b     [A2 + 0xF2], 0x5
  1296. 00000D80  670C                     beq        +0xE /* 00000D8E */
  1297. 00000D82  2F0A                     move.l     -[A7], A2
  1298. 00000D84  4EBA 12DE                jsr        [PC + 0x12DE /* 00002064 */]
  1299. 00000D88  584F                     addq.w     A7, 4
  1300. 00000D8A  6000 0084                bra        +0x86 /* 00000E10 */
  1301. label00000D8E:
  1302. 00000D8E  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  1303. 00000D94  6732                     beq        +0x34 /* 00000DC8 */
  1304. 00000D96  4AAA 004E                tst.l      [A2 + 0x4E]
  1305. 00000D9A  6706                     beq        +0x8 /* 00000DA2 */
  1306. 00000D9C  2F2A 004E                move.l     -[A7], [A2 + 0x4E]
  1307. 00000DA0  A96D                     syscall    Draw1Control
  1308. label00000DA2:
  1309. 00000DA2  4AAA 0052                tst.l      [A2 + 0x52]
  1310. 00000DA6  6706                     beq        +0x8 /* 00000DAE */
  1311. 00000DA8  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  1312. 00000DAC  A96D                     syscall    Draw1Control
  1313. label00000DAE:
  1314. 00000DAE  4AAA 005A                tst.l      [A2 + 0x5A]
  1315. 00000DB2  6706                     beq        +0x8 /* 00000DBA */
  1316. 00000DB4  2F2A 005A                move.l     -[A7], [A2 + 0x5A]
  1317. 00000DB8  A96D                     syscall    Draw1Control
  1318. label00000DBA:
  1319. 00000DBA  4AAA 0056                tst.l      [A2 + 0x56]
  1320. 00000DBE  6750                     beq        +0x52 /* 00000E10 */
  1321. 00000DC0  2F2A 0056                move.l     -[A7], [A2 + 0x56]
  1322. 00000DC4  A96D                     syscall    Draw1Control
  1323. 00000DC6  6048                     bra        +0x4A /* 00000E10 */
  1324. label00000DC8:
  1325. 00000DC8  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1326. 00000DCE  6730                     beq        +0x32 /* 00000E00 */
  1327. 00000DD0  4AAA 0014                tst.l      [A2 + 0x14]
  1328. 00000DD4  672A                     beq        +0x2C /* 00000E00 */
  1329. 00000DD6  42A7                     clr.l      -[A7]
  1330. 00000DD8  4878 0001                push.l     0x1
  1331. 00000DDC  2F0A                     move.l     -[A7], A2
  1332. 00000DDE  4EBA 094E                jsr        [PC + 0x94E /* 0000172E */]
  1333. 00000DE2  2C48                     movea.l    A6, A0
  1334. 00000DE4  2F0E                     move.l     -[A7], A6
  1335. 00000DE6  486A 0070                pea.l      [A2 + 0x70]
  1336. 00000DEA  206A 0014                movea.l    A0, [A2 + 0x14]
  1337. 00000DEE  4E90                     jsr        [A0]
  1338. 00000DF0  42A7                     clr.l      -[A7]
  1339. 00000DF2  42A7                     clr.l      -[A7]
  1340. 00000DF4  2F0A                     move.l     -[A7], A2
  1341. 00000DF6  4EBA 0936                jsr        [PC + 0x936 /* 0000172E */]
  1342. 00000DFA  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1343. 00000DFE  6010                     bra        +0x12 /* 00000E10 */
  1344. label00000E00:
  1345. 00000E00  082A 0002 00F2           btst.b     [A2 + 0xF2], 0x2
  1346. 00000E06  6708                     beq        +0xA /* 00000E10 */
  1347. 00000E08  2F0A                     move.l     -[A7], A2
  1348. 00000E0A  4EBA 1174                jsr        [PC + 0x1174 /* 00001F80 */]
  1349. 00000E0E  584F                     addq.w     A7, 4
  1350. label00000E10:
  1351. 00000E10  2F0A                     move.l     -[A7], A2
  1352. 00000E12  4EBA 215C                jsr        [PC + 0x215C /* 00002F70 */]
  1353. 00000E16  584F                     addq.w     A7, 4
  1354. label00000E18:
  1355. 00000E18  2F0B                     move.l     -[A7], A3
  1356. 00000E1A  4EAD DD88                jsr        [A5 - 0x2278]
  1357. 00000E1E  2652                     movea.l    A3, [A2]
  1358. 00000E20  584F                     addq.w     A7, 4
  1359. label00000E22:
  1360. 00000E22  200B                     move.l     D0, A3
  1361. 00000E24  6600 FEE2                bne        -0x11C /* 00000D08 */
  1362. 00000E28  4EAD DD48                jsr        [A5 - 0x22B8]
  1363. label00000E2C:
  1364. 00000E2C  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1365. 00000E30  4E75                     rts
  1366. 00000E32  48E7 0038                movem.l    -[A7], A2,A3,A4
  1367. 00000E36  286F 0010                movea.l    A4, [A7 + 0x10]
  1368. 00000E3A  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  1369. 00000E3E  200B                     move.l     D0, A3
  1370. 00000E40  6764                     beq        +0x66 /* 00000EA6 */
  1371. 00000E42  2F0C                     move.l     -[A7], A4
  1372. 00000E44  4EAD DD40                jsr        [A5 - 0x22C0]
  1373. 00000E48  584F                     addq.w     A7, 4
  1374. 00000E4A  6052                     bra        +0x54 /* 00000E9E */
  1375. label00000E4C:
  1376. 00000E4C  2F0B                     move.l     -[A7], A3
  1377. 00000E4E  4EAD DD80                jsr        [A5 - 0x2280]
  1378. 00000E52  2448                     movea.l    A2, A0
  1379. 00000E54  B9EA 00D6                cmpa.l     A4, [A2 + 0xD6]
  1380. 00000E58  584F                     addq.w     A7, 4
  1381. 00000E5A  6638                     bne        +0x3A /* 00000E94 */
  1382. 00000E5C  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  1383. 00000E62  671C                     beq        +0x1E /* 00000E80 */
  1384. 00000E64  594F                     subq.w     A7, 4
  1385. 00000E66  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1386. 00000E6A  3F3C 0008                move.w     -[A7], 0x8
  1387. 00000E6E  4878 0000                push.l     0x0
  1388. 00000E72  2F3C 0006 0009           move.l     -[A7], 0x60009
  1389. 00000E78  7000                     moveq.l    D0, 0x00
  1390. 00000E7A  A82A                     syscall    ComponentDispatch
  1391. 00000E7C  201F                     move.l     D0, [A7]+
  1392. 00000E7E  6014                     bra        +0x16 /* 00000E94 */
  1393. label00000E80:
  1394. 00000E80  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  1395. 00000E86  670C                     beq        +0xE /* 00000E94 */
  1396. 00000E88  4878 0001                push.l     0x1
  1397. 00000E8C  2F0A                     move.l     -[A7], A2
  1398. 00000E8E  4EBA 1BB8                jsr        [PC + 0x1BB8 /* 00002A48 */]
  1399. 00000E92  504F                     addq.w     A7, 8
  1400. label00000E94:
  1401. 00000E94  2F0B                     move.l     -[A7], A3
  1402. 00000E96  4EAD DD88                jsr        [A5 - 0x2278]
  1403. 00000E9A  2652                     movea.l    A3, [A2]
  1404. 00000E9C  584F                     addq.w     A7, 4
  1405. label00000E9E:
  1406. 00000E9E  200B                     move.l     D0, A3
  1407. 00000EA0  66AA                     bne        -0x54 /* 00000E4C */
  1408. 00000EA2  4EAD DD48                jsr        [A5 - 0x22B8]
  1409. label00000EA6:
  1410. 00000EA6  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1411. 00000EAA  4E75                     rts
  1412. 00000EAC  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  1413. 00000EB0  286F 001C                movea.l    A4, [A7 + 0x1C]
  1414. 00000EB4  282F 0020                move.l     D4, [A7 + 0x20]
  1415. 00000EB8  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  1416. 00000EBC  200B                     move.l     D0, A3
  1417. 00000EBE  6700 0128                beq        +0x12A /* 00000FE8 */
  1418. 00000EC2  2F0C                     move.l     -[A7], A4
  1419. 00000EC4  4EAD DD40                jsr        [A5 - 0x22C0]
  1420. 00000EC8  584F                     addq.w     A7, 4
  1421. 00000ECA  6000 0112                bra        +0x114 /* 00000FDE */
  1422. label00000ECE:
  1423. 00000ECE  2F0B                     move.l     -[A7], A3
  1424. 00000ED0  4EAD DD80                jsr        [A5 - 0x2280]
  1425. 00000ED4  2448                     movea.l    A2, A0
  1426. 00000ED6  B9EA 00D6                cmpa.l     A4, [A2 + 0xD6]
  1427. 00000EDA  584F                     addq.w     A7, 4
  1428. 00000EDC  6600 00F6                bne        +0xF8 /* 00000FD4 */
  1429. 00000EE0  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  1430. 00000EE6  6744                     beq        +0x46 /* 00000F2C */
  1431. 00000EE8  42A7                     clr.l      -[A7]
  1432. 00000EEA  4EAD DD50                jsr        [A5 - 0x22B0]
  1433. 00000EEE  4A84                     tst.l      D4
  1434. 00000EF0  584F                     addq.w     A7, 4
  1435. 00000EF2  661A                     bne        +0x1C /* 00000F0E */
  1436. 00000EF4  594F                     subq.w     A7, 4
  1437. 00000EF6  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1438. 00000EFA  3F3C 0008                move.w     -[A7], 0x8
  1439. 00000EFE  4878 0000                push.l     0x0
  1440. 00000F02  2F3C 0006 0009           move.l     -[A7], 0x60009
  1441. 00000F08  7000                     moveq.l    D0, 0x00
  1442. 00000F0A  A82A                     syscall    ComponentDispatch
  1443. 00000F0C  201F                     move.l     D0, [A7]+
  1444. label00000F0E:
  1445. 00000F0E  594F                     subq.w     A7, 4
  1446. 00000F10  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1447. 00000F14  2F0C                     move.l     -[A7], A4
  1448. 00000F16  1F04                     move.b     -[A7], D4
  1449. 00000F18  2F3C 0006 0019           move.l     -[A7], 0x60019
  1450. 00000F1E  7000                     moveq.l    D0, 0x00
  1451. 00000F20  A82A                     syscall    ComponentDispatch
  1452. 00000F22  201F                     move.l     D0, [A7]+
  1453. 00000F24  4EAD DD58                jsr        [A5 - 0x22A8]
  1454. 00000F28  6000 00AA                bra        +0xAC /* 00000FD4 */
  1455. label00000F2C:
  1456. 00000F2C  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  1457. 00000F32  676C                     beq        +0x6E /* 00000FA0 */
  1458. 00000F34  4A84                     tst.l      D4
  1459. 00000F36  6608                     bne        +0xA /* 00000F40 */
  1460. 00000F38  203C 0000 00FF           move.l     D0, 0xFF
  1461. 00000F3E  6002                     bra        +0x4 /* 00000F42 */
  1462. label00000F40:
  1463. 00000F40  7000                     moveq.l    D0, 0x00
  1464. label00000F42:
  1465. 00000F42  3600                     move.w     D3, D0
  1466. 00000F44  4878 0001                push.l     0x1
  1467. 00000F48  2F0A                     move.l     -[A7], A2
  1468. 00000F4A  4EBA 1AFC                jsr        [PC + 0x1AFC /* 00002A48 */]
  1469. 00000F4E  4878 0001                push.l     0x1
  1470. 00000F52  2F0A                     move.l     -[A7], A2
  1471. 00000F54  4EBA 0786                jsr        [PC + 0x786 /* 000016DC */]
  1472. 00000F58  4AAA 004E                tst.l      [A2 + 0x4E]
  1473. 00000F5C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1474. 00000F60  6708                     beq        +0xA /* 00000F6A */
  1475. 00000F62  2F2A 004E                move.l     -[A7], [A2 + 0x4E]
  1476. 00000F66  3F03                     move.w     -[A7], D3
  1477. 00000F68  A95D                     syscall    HiliteControl
  1478. label00000F6A:
  1479. 00000F6A  4AAA 0052                tst.l      [A2 + 0x52]
  1480. 00000F6E  6708                     beq        +0xA /* 00000F78 */
  1481. 00000F70  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  1482. 00000F74  3F03                     move.w     -[A7], D3
  1483. 00000F76  A95D                     syscall    HiliteControl
  1484. label00000F78:
  1485. 00000F78  4AAA 005A                tst.l      [A2 + 0x5A]
  1486. 00000F7C  6708                     beq        +0xA /* 00000F86 */
  1487. 00000F7E  2F2A 005A                move.l     -[A7], [A2 + 0x5A]
  1488. 00000F82  3F03                     move.w     -[A7], D3
  1489. 00000F84  A95D                     syscall    HiliteControl
  1490. label00000F86:
  1491. 00000F86  4AAA 0056                tst.l      [A2 + 0x56]
  1492. 00000F8A  6708                     beq        +0xA /* 00000F94 */
  1493. 00000F8C  2F2A 0056                move.l     -[A7], [A2 + 0x56]
  1494. 00000F90  3F03                     move.w     -[A7], D3
  1495. 00000F92  A95D                     syscall    HiliteControl
  1496. label00000F94:
  1497. 00000F94  42A7                     clr.l      -[A7]
  1498. 00000F96  2F0A                     move.l     -[A7], A2
  1499. 00000F98  4EBA 0742                jsr        [PC + 0x742 /* 000016DC */]
  1500. 00000F9C  504F                     addq.w     A7, 8
  1501. 00000F9E  6034                     bra        +0x36 /* 00000FD4 */
  1502. label00000FA0:
  1503. 00000FA0  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1504. 00000FA6  672C                     beq        +0x2E /* 00000FD4 */
  1505. 00000FA8  4AAA 001C                tst.l      [A2 + 0x1C]
  1506. 00000FAC  6726                     beq        +0x28 /* 00000FD4 */
  1507. 00000FAE  42A7                     clr.l      -[A7]
  1508. 00000FB0  4878 0001                push.l     0x1
  1509. 00000FB4  2F0A                     move.l     -[A7], A2
  1510. 00000FB6  4EBA 0776                jsr        [PC + 0x776 /* 0000172E */]
  1511. 00000FBA  2C48                     movea.l    A6, A0
  1512. 00000FBC  2F0E                     move.l     -[A7], A6
  1513. 00000FBE  3F04                     move.w     -[A7], D4
  1514. 00000FC0  206A 001C                movea.l    A0, [A2 + 0x1C]
  1515. 00000FC4  4E90                     jsr        [A0]
  1516. 00000FC6  42A7                     clr.l      -[A7]
  1517. 00000FC8  42A7                     clr.l      -[A7]
  1518. 00000FCA  2F0A                     move.l     -[A7], A2
  1519. 00000FCC  4EBA 0760                jsr        [PC + 0x760 /* 0000172E */]
  1520. 00000FD0  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1521. label00000FD4:
  1522. 00000FD4  2F0B                     move.l     -[A7], A3
  1523. 00000FD6  4EAD DD88                jsr        [A5 - 0x2278]
  1524. 00000FDA  2652                     movea.l    A3, [A2]
  1525. 00000FDC  584F                     addq.w     A7, 4
  1526. label00000FDE:
  1527. 00000FDE  200B                     move.l     D0, A3
  1528. 00000FE0  6600 FEEC                bne        -0x112 /* 00000ECE */
  1529. 00000FE4  4EAD DD48                jsr        [A5 - 0x22B8]
  1530. label00000FE8:
  1531. 00000FE8  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1532. 00000FEC  4E75                     rts
  1533. 00000FEE  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  1534. 00000FF2  594F                     subq.w     A7, 4
  1535. 00000FF4  2C6F 0024                movea.l    A6, [A7 + 0x24]
  1536. 00000FF8  286F 0028                movea.l    A4, [A7 + 0x28]
  1537. 00000FFC  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  1538. 00001000  2EAC 000A                move.l     [A7], [A4 + 0xA]
  1539. 00001004  7600                     moveq.l    D3, 0x00
  1540. 00001006  7800                     moveq.l    D4, 0x00
  1541. 00001008  200B                     move.l     D0, A3
  1542. 0000100A  660A                     bne        +0xC /* 00001016 */
  1543. 0000100C  7000                     moveq.l    D0, 0x00
  1544. 0000100E  584F                     addq.w     A7, 4
  1545. 00001010  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  1546. 00001014  4E75                     rts
  1547. label00001016:
  1548. 00001016  2F0E                     move.l     -[A7], A6
  1549. 00001018  4EAD DD40                jsr        [A5 - 0x22C0]
  1550. 0000101C  486F 0004                pea.l      [A7 + 0x4]
  1551. 00001020  A871                     syscall    GlobalToLocal
  1552. 00001022  584F                     addq.w     A7, 4
  1553. 00001024  6000 00C0                bra        +0xC2 /* 000010E6 */
  1554. label00001028:
  1555. 00001028  2F0B                     move.l     -[A7], A3
  1556. 0000102A  4EAD DD80                jsr        [A5 - 0x2280]
  1557. 0000102E  2448                     movea.l    A2, A0
  1558. 00001030  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  1559. 00001034  584F                     addq.w     A7, 4
  1560. 00001036  6600 00A4                bne        +0xA6 /* 000010DC */
  1561. 0000103A  554F                     subq.w     A7, 2
  1562. 0000103C  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  1563. 00001040  486A 0070                pea.l      [A2 + 0x70]
  1564. 00001044  A8AD                     syscall    PtInRect
  1565. 00001046  101F                     move.b     D0, [A7]+
  1566. 00001048  6700 0092                beq        +0x94 /* 000010DC */
  1567. 0000104C  7601                     moveq.l    D3, 0x01
  1568. 0000104E  2803                     move.l     D4, D3
  1569. 00001050  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  1570. 00001056  6730                     beq        +0x32 /* 00001088 */
  1571. 00001058  42A7                     clr.l      -[A7]
  1572. 0000105A  4EAD DD50                jsr        [A5 - 0x22B0]
  1573. 0000105E  2053                     movea.l    A0, [A3]
  1574. 00001060  2F28 0024                move.l     -[A7], [A0 + 0x24]
  1575. 00001064  2F0E                     move.l     -[A7], A6
  1576. 00001066  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  1577. 0000106A  2F2C 0006                move.l     -[A7], [A4 + 0x6]
  1578. 0000106E  7000                     moveq.l    D0, 0x00
  1579. 00001070  302C 000E                move.w     D0, [A4 + 0xE]
  1580. 00001074  2F00                     move.l     -[A7], D0
  1581. 00001076  2F3C 0010 001C           move.l     -[A7], 0x10001C
  1582. 0000107C  7000                     moveq.l    D0, 0x00
  1583. 0000107E  A82A                     syscall    ComponentDispatch
  1584. 00001080  201F                     move.l     D0, [A7]+
  1585. 00001082  4EAD DD58                jsr        [A5 - 0x22A8]
  1586. 00001086  6054                     bra        +0x56 /* 000010DC */
  1587. label00001088:
  1588. 00001088  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  1589. 0000108E  670C                     beq        +0xE /* 0000109C */
  1590. 00001090  2F17                     move.l     -[A7], [A7]
  1591. 00001092  2F0A                     move.l     -[A7], A2
  1592. 00001094  4EBA 1CF8                jsr        [PC + 0x1CF8 /* 00002D8E */]
  1593. 00001098  504F                     addq.w     A7, 8
  1594. 0000109A  6040                     bra        +0x42 /* 000010DC */
  1595. label0000109C:
  1596. 0000109C  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1597. 000010A2  672E                     beq        +0x30 /* 000010D2 */
  1598. 000010A4  4AAA 0018                tst.l      [A2 + 0x18]
  1599. 000010A8  6728                     beq        +0x2A /* 000010D2 */
  1600. 000010AA  42A7                     clr.l      -[A7]
  1601. 000010AC  4878 0001                push.l     0x1
  1602. 000010B0  2F0A                     move.l     -[A7], A2
  1603. 000010B2  4EBA 067A                jsr        [PC + 0x67A /* 0000172E */]
  1604. 000010B6  2A08                     move.l     D5, A0
  1605. 000010B8  2F05                     move.l     -[A7], D5
  1606. 000010BA  2F0C                     move.l     -[A7], A4
  1607. 000010BC  206A 0018                movea.l    A0, [A2 + 0x18]
  1608. 000010C0  4E90                     jsr        [A0]
  1609. 000010C2  42A7                     clr.l      -[A7]
  1610. 000010C4  42A7                     clr.l      -[A7]
  1611. 000010C6  2F0A                     move.l     -[A7], A2
  1612. 000010C8  4EBA 0664                jsr        [PC + 0x664 /* 0000172E */]
  1613. 000010CC  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1614. 000010D0  600A                     bra        +0xC /* 000010DC */
  1615. label000010D2:
  1616. 000010D2  082A 0002 00F2           btst.b     [A2 + 0xF2], 0x2
  1617. 000010D8  6702                     beq        +0x4 /* 000010DC */
  1618. 000010DA  7600                     moveq.l    D3, 0x00
  1619. label000010DC:
  1620. 000010DC  2F0B                     move.l     -[A7], A3
  1621. 000010DE  4EAD DD88                jsr        [A5 - 0x2278]
  1622. 000010E2  2652                     movea.l    A3, [A2]
  1623. 000010E4  584F                     addq.w     A7, 4
  1624. label000010E6:
  1625. 000010E6  200B                     move.l     D0, A3
  1626. 000010E8  6706                     beq        +0x8 /* 000010F0 */
  1627. 000010EA  4A84                     tst.l      D4
  1628. 000010EC  6700 FF3A                beq        -0xC4 /* 00001028 */
  1629. label000010F0:
  1630. 000010F0  4EAD DD48                jsr        [A5 - 0x22B8]
  1631. 000010F4  2003                     move.l     D0, D3
  1632. 000010F6  584F                     addq.w     A7, 4
  1633. 000010F8  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  1634. 000010FC  4E75                     rts
  1635. 000010FE  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  1636. 00001102  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  1637. 00001106  282F 0020                move.l     D4, [A7 + 0x20]
  1638. 0000110A  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  1639. 0000110E  7600                     moveq.l    D3, 0x00
  1640. 00001110  5384                     subq.l     D4, 1
  1641. 00001112  7005                     moveq.l    D0, 0x05
  1642. 00001114  B880                     cmp.l      D4, D0
  1643. 00001116  6F5C                     ble        +0x5E /* 00001174 */
  1644. 00001118  7000                     moveq.l    D0, 0x00
  1645. 0000111A  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1646. 0000111E  4E75                     rts
  1647. label00001120:
  1648. 00001120  2F0B                     move.l     -[A7], A3
  1649. 00001122  4EAD DD80                jsr        [A5 - 0x2280]
  1650. 00001126  2448                     movea.l    A2, A0
  1651. 00001128  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  1652. 0000112C  584F                     addq.w     A7, 4
  1653. 0000112E  663A                     bne        +0x3C /* 0000116A */
  1654. 00001130  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1655. 00001136  6732                     beq        +0x34 /* 0000116A */
  1656. 00001138  4AAA 002C                tst.l      [A2 + 0x2C]
  1657. 0000113C  672C                     beq        +0x2E /* 0000116A */
  1658. 0000113E  42A7                     clr.l      -[A7]
  1659. 00001140  4878 0001                push.l     0x1
  1660. 00001144  2F0A                     move.l     -[A7], A2
  1661. 00001146  4EBA 05E6                jsr        [PC + 0x5E6 /* 0000172E */]
  1662. 0000114A  2848                     movea.l    A4, A0
  1663. 0000114C  2F0C                     move.l     -[A7], A4
  1664. 0000114E  3F04                     move.w     -[A7], D4
  1665. 00001150  206A 002C                movea.l    A0, [A2 + 0x2C]
  1666. 00001154  4E90                     jsr        [A0]
  1667. 00001156  301F                     move.w     D0, [A7]+
  1668. 00001158  48C0                     ext.l      D0
  1669. 0000115A  2600                     move.l     D3, D0
  1670. 0000115C  42A7                     clr.l      -[A7]
  1671. 0000115E  42A7                     clr.l      -[A7]
  1672. 00001160  2F0A                     move.l     -[A7], A2
  1673. 00001162  4EBA 05CA                jsr        [PC + 0x5CA /* 0000172E */]
  1674. 00001166  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1675. label0000116A:
  1676. 0000116A  2F0B                     move.l     -[A7], A3
  1677. 0000116C  4EAD DD88                jsr        [A5 - 0x2278]
  1678. 00001170  2652                     movea.l    A3, [A2]
  1679. 00001172  584F                     addq.w     A7, 4
  1680. label00001174:
  1681. 00001174  200B                     move.l     D0, A3
  1682. 00001176  6704                     beq        +0x6 /* 0000117C */
  1683. 00001178  4A83                     tst.l      D3
  1684. 0000117A  67A4                     beq        -0x5A /* 00001120 */
  1685. label0000117C:
  1686. 0000117C  2003                     move.l     D0, D3
  1687. 0000117E  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1688. 00001182  4E75                     rts
  1689. 00001184  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  1690. 00001188  2C6F 0018                movea.l    A6, [A7 + 0x18]
  1691. 0000118C  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  1692. 00001190  200B                     move.l     D0, A3
  1693. 00001192  6700 00C2                beq        +0xC4 /* 00001256 */
  1694. 00001196  2F0E                     move.l     -[A7], A6
  1695. 00001198  4EAD DD40                jsr        [A5 - 0x22C0]
  1696. 0000119C  584F                     addq.w     A7, 4
  1697. 0000119E  6000 00AC                bra        +0xAE /* 0000124C */
  1698. label000011A2:
  1699. 000011A2  2F0B                     move.l     -[A7], A3
  1700. 000011A4  4EAD DD80                jsr        [A5 - 0x2280]
  1701. 000011A8  2448                     movea.l    A2, A0
  1702. 000011AA  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  1703. 000011AE  584F                     addq.w     A7, 4
  1704. 000011B0  6600 0090                bne        +0x92 /* 00001242 */
  1705. 000011B4  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  1706. 000011BA  6742                     beq        +0x44 /* 000011FE */
  1707. 000011BC  082A 0004 0028           btst.b     [A2 + 0x28], 0x4
  1708. 000011C2  670A                     beq        +0xC /* 000011CE */
  1709. 000011C4  022A 00EF 0028           andi.b     [A2 + 0x28], 0xEF
  1710. 000011CA  4EAD DF98                jsr        [A5 - 0x2068]
  1711. label000011CE:
  1712. 000011CE  7600                     moveq.l    D3, 0x00
  1713. 000011D0  6014                     bra        +0x16 /* 000011E6 */
  1714. label000011D2:
  1715. 000011D2  594F                     subq.w     A7, 4
  1716. 000011D4  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1717. 000011D8  2F3C 0000 001A           move.l     -[A7], 0x1A
  1718. 000011DE  7000                     moveq.l    D0, 0x00
  1719. 000011E0  A82A                     syscall    ComponentDispatch
  1720. 000011E2  201F                     move.l     D0, [A7]+
  1721. 000011E4  5283                     addq.l     D3, 1
  1722. label000011E6:
  1723. 000011E6  700A                     moveq.l    D0, 0x0A
  1724. 000011E8  B680                     cmp.l      D3, D0
  1725. 000011EA  6DE6                     blt        -0x18 /* 000011D2 */
  1726. 000011EC  082A 0005 0028           btst.b     [A2 + 0x28], 0x5
  1727. 000011F2  674E                     beq        +0x50 /* 00001242 */
  1728. 000011F4  2F0A                     move.l     -[A7], A2
  1729. 000011F6  4EBA 1D78                jsr        [PC + 0x1D78 /* 00002F70 */]
  1730. 000011FA  584F                     addq.w     A7, 4
  1731. 000011FC  6044                     bra        +0x46 /* 00001242 */
  1732. label000011FE:
  1733. 000011FE  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  1734. 00001204  670A                     beq        +0xC /* 00001210 */
  1735. 00001206  2F0A                     move.l     -[A7], A2
  1736. 00001208  4EBA 17DC                jsr        [PC + 0x17DC /* 000029E6 */]
  1737. 0000120C  584F                     addq.w     A7, 4
  1738. 0000120E  6032                     bra        +0x34 /* 00001242 */
  1739. label00001210:
  1740. 00001210  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1741. 00001216  672A                     beq        +0x2C /* 00001242 */
  1742. 00001218  4AAA 0020                tst.l      [A2 + 0x20]
  1743. 0000121C  6724                     beq        +0x26 /* 00001242 */
  1744. 0000121E  42A7                     clr.l      -[A7]
  1745. 00001220  4878 0001                push.l     0x1
  1746. 00001224  2F0A                     move.l     -[A7], A2
  1747. 00001226  4EBA 0506                jsr        [PC + 0x506 /* 0000172E */]
  1748. 0000122A  2848                     movea.l    A4, A0
  1749. 0000122C  2F0C                     move.l     -[A7], A4
  1750. 0000122E  206A 0020                movea.l    A0, [A2 + 0x20]
  1751. 00001232  4E90                     jsr        [A0]
  1752. 00001234  42A7                     clr.l      -[A7]
  1753. 00001236  42A7                     clr.l      -[A7]
  1754. 00001238  2F0A                     move.l     -[A7], A2
  1755. 0000123A  4EBA 04F2                jsr        [PC + 0x4F2 /* 0000172E */]
  1756. 0000123E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1757. label00001242:
  1758. 00001242  2F0B                     move.l     -[A7], A3
  1759. 00001244  4EAD DD88                jsr        [A5 - 0x2278]
  1760. 00001248  2652                     movea.l    A3, [A2]
  1761. 0000124A  584F                     addq.w     A7, 4
  1762. label0000124C:
  1763. 0000124C  200B                     move.l     D0, A3
  1764. 0000124E  6600 FF52                bne        -0xAC /* 000011A2 */
  1765. 00001252  4EAD DD48                jsr        [A5 - 0x22B8]
  1766. label00001256:
  1767. 00001256  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  1768. 0000125A  4E75                     rts
  1769. 0000125C  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  1770. 00001260  2C6F 0020                movea.l    A6, [A7 + 0x20]
  1771. 00001264  1A2F 0024                move.b     D5, [A7 + 0x24]
  1772. 00001268  382F 0026                move.w     D4, [A7 + 0x26]
  1773. 0000126C  266D 8A3A                movea.l    A3, [A5 - 0x75C6]
  1774. 00001270  7600                     moveq.l    D3, 0x00
  1775. 00001272  200B                     move.l     D0, A3
  1776. 00001274  6608                     bne        +0xA /* 0000127E */
  1777. 00001276  7000                     moveq.l    D0, 0x00
  1778. 00001278  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  1779. 0000127C  4E75                     rts
  1780. label0000127E:
  1781. 0000127E  2F0E                     move.l     -[A7], A6
  1782. 00001280  4EAD DD40                jsr        [A5 - 0x22C0]
  1783. 00001284  584F                     addq.w     A7, 4
  1784. 00001286  6000 0086                bra        +0x88 /* 0000130E */
  1785. label0000128A:
  1786. 0000128A  2F0B                     move.l     -[A7], A3
  1787. 0000128C  4EAD DD80                jsr        [A5 - 0x2280]
  1788. 00001290  2448                     movea.l    A2, A0
  1789. 00001292  BDEA 00D6                cmpa.l     A6, [A2 + 0xD6]
  1790. 00001296  584F                     addq.w     A7, 4
  1791. 00001298  666A                     bne        +0x6C /* 00001304 */
  1792. 0000129A  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  1793. 000012A0  6726                     beq        +0x28 /* 000012C8 */
  1794. 000012A2  42A7                     clr.l      -[A7]
  1795. 000012A4  4EAD DD50                jsr        [A5 - 0x22B0]
  1796. 000012A8  2053                     movea.l    A0, [A3]
  1797. 000012AA  2F28 0024                move.l     -[A7], [A0 + 0x24]
  1798. 000012AE  1F05                     move.b     -[A7], D5
  1799. 000012B0  3044                     movea.w    A0, D4
  1800. 000012B2  2F08                     move.l     -[A7], A0
  1801. 000012B4  2F3C 0006 001B           move.l     -[A7], 0x6001B
  1802. 000012BA  7000                     moveq.l    D0, 0x00
  1803. 000012BC  A82A                     syscall    ComponentDispatch
  1804. 000012BE  201F                     move.l     D0, [A7]+
  1805. 000012C0  2600                     move.l     D3, D0
  1806. 000012C2  4EAD DD58                jsr        [A5 - 0x22A8]
  1807. 000012C6  603C                     bra        +0x3E /* 00001304 */
  1808. label000012C8:
  1809. 000012C8  082A 0004 00F2           btst.b     [A2 + 0xF2], 0x4
  1810. 000012CE  6734                     beq        +0x36 /* 00001304 */
  1811. 000012D0  4AAA 0028                tst.l      [A2 + 0x28]
  1812. 000012D4  672E                     beq        +0x30 /* 00001304 */
  1813. 000012D6  42A7                     clr.l      -[A7]
  1814. 000012D8  4878 0001                push.l     0x1
  1815. 000012DC  2F0A                     move.l     -[A7], A2
  1816. 000012DE  4EBA 044E                jsr        [PC + 0x44E /* 0000172E */]
  1817. 000012E2  2848                     movea.l    A4, A0
  1818. 000012E4  2F0C                     move.l     -[A7], A4
  1819. 000012E6  1F05                     move.b     -[A7], D5
  1820. 000012E8  3F04                     move.w     -[A7], D4
  1821. 000012EA  206A 0028                movea.l    A0, [A2 + 0x28]
  1822. 000012EE  4E90                     jsr        [A0]
  1823. 000012F0  301F                     move.w     D0, [A7]+
  1824. 000012F2  48C0                     ext.l      D0
  1825. 000012F4  2600                     move.l     D3, D0
  1826. 000012F6  42A7                     clr.l      -[A7]
  1827. 000012F8  42A7                     clr.l      -[A7]
  1828. 000012FA  2F0A                     move.l     -[A7], A2
  1829. 000012FC  4EBA 0430                jsr        [PC + 0x430 /* 0000172E */]
  1830. 00001300  4FEF 0016                lea.l      A7, [A7 + 0x16]
  1831. label00001304:
  1832. 00001304  2F0B                     move.l     -[A7], A3
  1833. 00001306  4EAD DD88                jsr        [A5 - 0x2278]
  1834. 0000130A  2652                     movea.l    A3, [A2]
  1835. 0000130C  584F                     addq.w     A7, 4
  1836. label0000130E:
  1837. 0000130E  200B                     move.l     D0, A3
  1838. 00001310  6706                     beq        +0x8 /* 00001318 */
  1839. 00001312  4A83                     tst.l      D3
  1840. 00001314  6700 FF74                beq        -0x8A /* 0000128A */
  1841. label00001318:
  1842. 00001318  4EAD DD48                jsr        [A5 - 0x22B8]
  1843. 0000131C  2003                     move.l     D0, D3
  1844. 0000131E  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  1845. 00001322  4E75                     rts
  1846. fn00001324:
  1847. 00001324  48E7 0018                movem.l    -[A7], A3,A4
  1848. 00001328  286F 000C                movea.l    A4, [A7 + 0xC]
  1849. 0000132C  266F 0010                movea.l    A3, [A7 + 0x10]
  1850. 00001330  2253                     movea.l    A1, [A3]
  1851. 00001332  2294                     move.l     [A1], [A4]
  1852. 00001334  6708                     beq        +0xA /* 0000133E */
  1853. 00001336  2054                     movea.l    A0, [A4]
  1854. 00001338  2050                     movea.l    A0, [A0]
  1855. 0000133A  214B 0004                move.l     [A0 + 0x4], A3
  1856. label0000133E:
  1857. 0000133E  42A9 0004                clr.l      [A1 + 0x4]
  1858. 00001342  288B                     move.l     [A4], A3
  1859. 00001344  4CDF 1800                movem.l    A3,A4, [A7]+
  1860. 00001348  4E75                     rts
  1861. fn0000134A:
  1862. 0000134A  48E7 0018                movem.l    -[A7], A3,A4
  1863. 0000134E  286F 000C                movea.l    A4, [A7 + 0xC]
  1864. 00001352  266F 0010                movea.l    A3, [A7 + 0x10]
  1865. 00001356  2253                     movea.l    A1, [A3]
  1866. 00001358  4AA9 0004                tst.l      [A1 + 0x4]
  1867. 0000135C  6708                     beq        +0xA /* 00001366 */
  1868. 0000135E  2069 0004                movea.l    A0, [A1 + 0x4]
  1869. 00001362  2050                     movea.l    A0, [A0]
  1870. 00001364  2091                     move.l     [A0], [A1]
  1871. label00001366:
  1872. 00001366  4A91                     tst.l      [A1]
  1873. 00001368  670A                     beq        +0xC /* 00001374 */
  1874. 0000136A  2051                     movea.l    A0, [A1]
  1875. 0000136C  2050                     movea.l    A0, [A0]
  1876. 0000136E  2169 0004 0004           move.l     [A0 + 0x4], [A1 + 0x4]
  1877. label00001374:
  1878. 00001374  B7D4                     cmpa.l     A3, [A4]
  1879. 00001376  6602                     bne        +0x4 /* 0000137A */
  1880. 00001378  2891                     move.l     [A4], [A1]
  1881. label0000137A:
  1882. 0000137A  4CDF 1800                movem.l    A3,A4, [A7]+
  1883. 0000137E  4E75                     rts
  1884. fn00001380:
  1885. 00001380  2F0A                     move.l     -[A7], A2
  1886. 00001382  4AAD 8A36                tst.l      [A5 - 0x75CA]
  1887. 00001386  6726                     beq        +0x28 /* 000013AE */
  1888. 00001388  246D 8A36                movea.l    A2, [A5 - 0x75CA]
  1889. 0000138C  2F2D 8A36                move.l     -[A7], [A5 - 0x75CA]
  1890. 00001390  486D 8A36                pea.l      [A5 - 0x75CA]
  1891. 00001394  4EBA FFB4                jsr        [PC - 0x4C /* 0000134A */]
  1892. 00001398  4878 00F6                push.l     0xF6
  1893. 0000139C  42A7                     clr.l      -[A7]
  1894. 0000139E  2F12                     move.l     -[A7], [A2]
  1895. 000013A0  4EAD D94C                jsr        [A5 - 0x26B4]
  1896. 000013A4  204A                     movea.l    A0, A2
  1897. 000013A6  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1898. 000013AA  245F                     movea.l    A2, [A7]+
  1899. 000013AC  4E75                     rts
  1900. label000013AE:
  1901. 000013AE  203C 0000 00F6           move.l     D0, 0xF6
  1902. 000013B4  A322                     syscall    NewHandleClear, flags=3
  1903. 000013B6  245F                     movea.l    A2, [A7]+
  1904. 000013B8  4E75                     rts
  1905. fn000013BA:
  1906. 000013BA  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  1907. 000013BE  4FEF FF00                lea.l      A7, [A7 - 0x100]
  1908. 000013C2  246F 0120                movea.l    A2, [A7 + 0x120]
  1909. 000013C6  7801                     moveq.l    D4, 0x01
  1910. 000013C8  4EAD DB8C                jsr        [A5 - 0x2474]
  1911. 000013CC  4A80                     tst.l      D0
  1912. 000013CE  6700 00E2                beq        +0xE4 /* 000014B2 */
  1913. 000013D2  002A 0010 00F2           ori.b      [A2 + 0xF2], 0x10
  1914. 000013D8  2F2F 0124                move.l     -[A7], [A7 + 0x124]
  1915. 000013DC  4878 0025                push.l     0x25 /* '%' */
  1916. 000013E0  4EAD DB26                jsr        [A5 - 0x24DA]
  1917. 000013E4  2A08                     move.l     D5, A0
  1918. 000013E6  4EAD DB02                jsr        [A5 - 0x24FE]
  1919. 000013EA  3600                     move.w     D3, D0
  1920. 000013EC  504F                     addq.w     A7, 8
  1921. 000013EE  670C                     beq        +0xE /* 000013FC */
  1922. 000013F0  3003                     move.w     D0, D3
  1923. 000013F2  4FEF 0100                lea.l      A7, [A7 + 0x100]
  1924. 000013F6  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  1925. 000013FA  4E75                     rts
  1926. label000013FC:
  1927. 000013FC  2F05                     move.l     -[A7], D5
  1928. 000013FE  4EAD DD80                jsr        [A5 - 0x2280]
  1929. 00001402  2648                     movea.l    A3, A0
  1930. 00001404  204B                     movea.l    A0, A3
  1931. 00001406  70FF                     moveq.l    D0, 0xFFFFFFFF
  1932. label00001408:
  1933. 00001408  5280                     addq.l     D0, 1
  1934. 0000140A  4A18                     tst.b      [A0]+
  1935. 0000140C  66FA                     bne        -0x4 /* 00001408 */
  1936. 0000140E  204B                     movea.l    A0, A3
  1937. 00001410  D1C0                     add.l      A0, D0
  1938. 00001412  5288                     addq.l     A0, 1
  1939. 00001414  2C48                     movea.l    A6, A0
  1940. 00001416  486A 0038                pea.l      [A2 + 0x38]
  1941. 0000141A  2F0B                     move.l     -[A7], A3
  1942. 0000141C  2F2A 00D6                move.l     -[A7], [A2 + 0xD6]
  1943. 00001420  4EAD F488                jsr        [A5 - 0xB78]
  1944. 00001424  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1945. 00001428  607A                     bra        +0x7C /* 000014A4 */
  1946. label0000142A:
  1947. 0000142A  2F2A 0038                move.l     -[A7], [A2 + 0x38]
  1948. 0000142E  4EAD F4C8                jsr        [A5 - 0xB38]
  1949. 00001432  2648                     movea.l    A3, A0
  1950. 00001434  200B                     move.l     D0, A3
  1951. 00001436  584F                     addq.w     A7, 4
  1952. 00001438  6770                     beq        +0x72 /* 000014AA */
  1953. 0000143A  42A7                     clr.l      -[A7]
  1954. 0000143C  4878 0001                push.l     0x1
  1955. 00001440  2F0A                     move.l     -[A7], A2
  1956. 00001442  4EBA 02EA                jsr        [PC + 0x2EA /* 0000172E */]
  1957. 00001446  2848                     movea.l    A4, A0
  1958. 00001448  2F0C                     move.l     -[A7], A4
  1959. 0000144A  486A 0008                pea.l      [A2 + 0x8]
  1960. 0000144E  4E93                     jsr        [A3]
  1961. 00001450  4AAA 0008                tst.l      [A2 + 0x8]
  1962. 00001454  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1963. 00001458  672C                     beq        +0x2E /* 00001486 */
  1964. 0000145A  2F0E                     move.l     -[A7], A6
  1965. 0000145C  486F 0004                pea.l      [A7 + 0x4]
  1966. 00001460  4EAD DDC8                jsr        [A5 - 0x2238]
  1967. 00001464  426A 0070                clr.w      [A2 + 0x70]
  1968. 00001468  426A 0072                clr.w      [A2 + 0x72]
  1969. 0000146C  2F0C                     move.l     -[A7], A4
  1970. 0000146E  486F 000C                pea.l      [A7 + 0xC]
  1971. 00001472  486A 0076                pea.l      [A2 + 0x76]
  1972. 00001476  486A 0074                pea.l      [A2 + 0x74]
  1973. 0000147A  206A 0008                movea.l    A0, [A2 + 0x8]
  1974. 0000147E  4E90                     jsr        [A0]
  1975. 00001480  301F                     move.w     D0, [A7]+
  1976. 00001482  3600                     move.w     D3, D0
  1977. 00001484  5C4F                     addq.w     A7, 6
  1978. label00001486:
  1979. 00001486  42A7                     clr.l      -[A7]
  1980. 00001488  42A7                     clr.l      -[A7]
  1981. 0000148A  2F0A                     move.l     -[A7], A2
  1982. 0000148C  4EBA 02A0                jsr        [PC + 0x2A0 /* 0000172E */]
  1983. 00001490  4AAA 0008                tst.l      [A2 + 0x8]
  1984. 00001494  57C0                     seq        D0
  1985. 00001496  4400                     neg.b      D0
  1986. 00001498  4880                     ext.w      D0
  1987. 0000149A  48C0                     ext.l      D0
  1988. 0000149C  2800                     move.l     D4, D0
  1989. 0000149E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1990. 000014A2  6006                     bra        +0x8 /* 000014AA */
  1991. label000014A4:
  1992. 000014A4  4AAA 0038                tst.l      [A2 + 0x38]
  1993. 000014A8  6680                     bne        -0x7E /* 0000142A */
  1994. label000014AA:
  1995. 000014AA  2F05                     move.l     -[A7], D5
  1996. 000014AC  4EAD DD88                jsr        [A5 - 0x2278]
  1997. 000014B0  584F                     addq.w     A7, 4
  1998. label000014B2:
  1999. 000014B2  4A84                     tst.l      D4
  2000. 000014B4  671A                     beq        +0x1C /* 000014D0 */
  2001. 000014B6  302D 135E                move.w     D0, [A5 + 0x135E]
  2002. 000014BA  48C0                     ext.l      D0
  2003. 000014BC  0680 0000 0084           addi.l     D0, 0x84
  2004. 000014C2  3F00                     move.w     -[A7], D0
  2005. 000014C4  2F0A                     move.l     -[A7], A2
  2006. 000014C6  4EBA 0C7A                jsr        [PC + 0xC7A /* 00002142 */]
  2007. 000014CA  7600                     moveq.l    D3, 0x00
  2008. 000014CC  5C4F                     addq.w     A7, 6
  2009. 000014CE  6018                     bra        +0x1A /* 000014E8 */
  2010. label000014D0:
  2011. 000014D0  4A43                     tst.w      D3
  2012. 000014D2  6614                     bne        +0x16 /* 000014E8 */
  2013. 000014D4  594F                     subq.w     A7, 4
  2014. 000014D6  A8D8                     syscall    NewRgn
  2015. 000014D8  205F                     movea.l    A0, [A7]+
  2016. 000014DA  2548 00DA                move.l     [A2 + 0xDA], A0
  2017. 000014DE  594F                     subq.w     A7, 4
  2018. 000014E0  A8D8                     syscall    NewRgn
  2019. 000014E2  205F                     movea.l    A0, [A7]+
  2020. 000014E4  2548 00DE                move.l     [A2 + 0xDE], A0
  2021. label000014E8:
  2022. 000014E8  3003                     move.w     D0, D3
  2023. 000014EA  4FEF 0100                lea.l      A7, [A7 + 0x100]
  2024. 000014EE  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2025. 000014F2  4E75                     rts
  2026. fn000014F4:
  2027. 000014F4  48E7 1030                movem.l    -[A7], D3,A2,A3
  2028. 000014F8  514F                     subq.w     A7, 8
  2029. 000014FA  266F 0018                movea.l    A3, [A7 + 0x18]
  2030. 000014FE  246F 001C                movea.l    A2, [A7 + 0x1C]
  2031. 00001502  7000                     moveq.l    D0, 0x00
  2032. 00001504  102D 81A0                move.b     D0, [A5 - 0x7E60]
  2033. 00001508  7202                     moveq.l    D1, 0x02
  2034. 0000150A  B081                     cmp.l      D0, D1
  2035. 0000150C  6D38                     blt        +0x3A /* 00001546 */
  2036. 0000150E  2EAB 0010                move.l     [A7], [A3 + 0x10]
  2037. 00001512  2F6B 0014 0004           move.l     [A7 + 0x4], [A3 + 0x14]
  2038. 00001518  2F0B                     move.l     -[A7], A3
  2039. 0000151A  4EAD DD40                jsr        [A5 - 0x22C0]
  2040. 0000151E  486F 0004                pea.l      [A7 + 0x4]
  2041. 00001522  A870                     syscall    LocalToGlobal
  2042. 00001524  486F 0008                pea.l      [A7 + 0x8]
  2043. 00001528  A870                     syscall    LocalToGlobal
  2044. 0000152A  4EAD DD48                jsr        [A5 - 0x22B8]
  2045. 0000152E  486F 0004                pea.l      [A7 + 0x4]
  2046. 00001532  AA27                     syscall    GetMaxDevice
  2047. 00001534  205F                     movea.l    A0, [A7]+
  2048. 00001536  2648                     movea.l    A3, A0
  2049. 00001538  2053                     movea.l    A0, [A3]
  2050. 0000153A  2068 0016                movea.l    A0, [A0 + 0x16]
  2051. 0000153E  2050                     movea.l    A0, [A0]
  2052. 00001540  3628 0020                move.w     D3, [A0 + 0x20]
  2053. 00001544  6002                     bra        +0x4 /* 00001548 */
  2054. label00001546:
  2055. 00001546  7601                     moveq.l    D3, 0x01
  2056. label00001548:
  2057. 00001548  3003                     move.w     D0, D3
  2058. 0000154A  48C0                     ext.l      D0
  2059. 0000154C  5380                     subq.l     D0, 1
  2060. 0000154E  670E                     beq        +0x10 /* 0000155E */
  2061. 00001550  5380                     subq.l     D0, 1
  2062. 00001552  670A                     beq        +0xC /* 0000155E */
  2063. 00001554  5580                     subq.l     D0, 2
  2064. 00001556  6720                     beq        +0x22 /* 00001578 */
  2065. 00001558  5980                     subq.l     D0, 4
  2066. 0000155A  6736                     beq        +0x38 /* 00001592 */
  2067. 0000155C  604E                     bra        +0x50 /* 000015AC */
  2068. label0000155E:
  2069. 0000155E  4A92                     tst.l      [A2]
  2070. 00001560  6704                     beq        +0x6 /* 00001566 */
  2071. 00001562  2612                     move.l     D3, [A2]
  2072. 00001564  605E                     bra        +0x60 /* 000015C4 */
  2073. label00001566:
  2074. 00001566  4AAA 0008                tst.l      [A2 + 0x8]
  2075. 0000156A  6706                     beq        +0x8 /* 00001572 */
  2076. 0000156C  262A 0008                move.l     D3, [A2 + 0x8]
  2077. 00001570  6052                     bra        +0x54 /* 000015C4 */
  2078. label00001572:
  2079. 00001572  262A 0004                move.l     D3, [A2 + 0x4]
  2080. 00001576  604C                     bra        +0x4E /* 000015C4 */
  2081. label00001578:
  2082. 00001578  4AAA 0008                tst.l      [A2 + 0x8]
  2083. 0000157C  6706                     beq        +0x8 /* 00001584 */
  2084. 0000157E  262A 0008                move.l     D3, [A2 + 0x8]
  2085. 00001582  6040                     bra        +0x42 /* 000015C4 */
  2086. label00001584:
  2087. 00001584  4A92                     tst.l      [A2]
  2088. 00001586  6704                     beq        +0x6 /* 0000158C */
  2089. 00001588  2612                     move.l     D3, [A2]
  2090. 0000158A  6038                     bra        +0x3A /* 000015C4 */
  2091. label0000158C:
  2092. 0000158C  262A 0004                move.l     D3, [A2 + 0x4]
  2093. 00001590  6032                     bra        +0x34 /* 000015C4 */
  2094. label00001592:
  2095. 00001592  4AAA 0004                tst.l      [A2 + 0x4]
  2096. 00001596  6706                     beq        +0x8 /* 0000159E */
  2097. 00001598  262A 0004                move.l     D3, [A2 + 0x4]
  2098. 0000159C  6026                     bra        +0x28 /* 000015C4 */
  2099. label0000159E:
  2100. 0000159E  4A92                     tst.l      [A2]
  2101. 000015A0  6704                     beq        +0x6 /* 000015A6 */
  2102. 000015A2  2612                     move.l     D3, [A2]
  2103. 000015A4  601E                     bra        +0x20 /* 000015C4 */
  2104. label000015A6:
  2105. 000015A6  262A 0008                move.l     D3, [A2 + 0x8]
  2106. 000015AA  6018                     bra        +0x1A /* 000015C4 */
  2107. label000015AC:
  2108. 000015AC  4A92                     tst.l      [A2]
  2109. 000015AE  6704                     beq        +0x6 /* 000015B4 */
  2110. 000015B0  2612                     move.l     D3, [A2]
  2111. 000015B2  6010                     bra        +0x12 /* 000015C4 */
  2112. label000015B4:
  2113. 000015B4  4AAA 0004                tst.l      [A2 + 0x4]
  2114. 000015B8  6706                     beq        +0x8 /* 000015C0 */
  2115. 000015BA  262A 0004                move.l     D3, [A2 + 0x4]
  2116. 000015BE  6004                     bra        +0x6 /* 000015C4 */
  2117. label000015C0:
  2118. 000015C0  262A 0008                move.l     D3, [A2 + 0x8]
  2119. label000015C4:
  2120. 000015C4  2003                     move.l     D0, D3
  2121. 000015C6  504F                     addq.w     A7, 8
  2122. 000015C8  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2123. 000015CC  4E75                     rts
  2124. fn000015CE:
  2125. 000015CE  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  2126. 000015D2  594F                     subq.w     A7, 4
  2127. 000015D4  246F 0018                movea.l    A2, [A7 + 0x18]
  2128. 000015D8  2F2A 00E6                move.l     -[A7], [A2 + 0xE6]
  2129. 000015DC  4878 003F                push.l     0x3F /* '?' */
  2130. 000015E0  4EAD DB26                jsr        [A5 - 0x24DA]
  2131. 000015E4  2648                     movea.l    A3, A0
  2132. 000015E6  4EAD DB02                jsr        [A5 - 0x24FE]
  2133. 000015EA  3600                     move.w     D3, D0
  2134. 000015EC  504F                     addq.w     A7, 8
  2135. 000015EE  670A                     beq        +0xC /* 000015FA */
  2136. 000015F0  3003                     move.w     D0, D3
  2137. 000015F2  584F                     addq.w     A7, 4
  2138. 000015F4  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2139. 000015F8  4E75                     rts
  2140. label000015FA:
  2141. 000015FA  2F13                     move.l     -[A7], [A3]
  2142. 000015FC  2F2A 00D6                move.l     -[A7], [A2 + 0xD6]
  2143. 00001600  4EBA FEF2                jsr        [PC - 0x10E /* 000014F4 */]
  2144. 00001604  2600                     move.l     D3, D0
  2145. 00001606  2F03                     move.l     -[A7], D3
  2146. 00001608  4878 003E                push.l     0x3E /* '>' */
  2147. 0000160C  4EAD DB26                jsr        [A5 - 0x24DA]
  2148. 00001610  2648                     movea.l    A3, A0
  2149. 00001612  4EAD DB02                jsr        [A5 - 0x24FE]
  2150. 00001616  3600                     move.w     D3, D0
  2151. 00001618  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2152. 0000161C  670A                     beq        +0xC /* 00001628 */
  2153. 0000161E  3003                     move.w     D0, D3
  2154. 00001620  584F                     addq.w     A7, 4
  2155. 00001622  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2156. 00001626  4E75                     rts
  2157. label00001628:
  2158. 00001628  2F0B                     move.l     -[A7], A3
  2159. 0000162A  4EAD DD80                jsr        [A5 - 0x2280]
  2160. 0000162E  2848                     movea.l    A4, A0
  2161. 00001630  256C 0010 001C           move.l     [A2 + 0x1C], [A4 + 0x10]
  2162. 00001636  486A 0078                pea.l      [A2 + 0x78]
  2163. 0000163A  486A 0018                pea.l      [A2 + 0x18]
  2164. 0000163E  42A7                     clr.l      -[A7]
  2165. 00001640  486F 0010                pea.l      [A7 + 0x10]
  2166. 00001644  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  2167. 00001648  3F2A 00E4                move.w     -[A7], [A2 + 0xE4]
  2168. 0000164C  4EAD DC70                jsr        [A5 - 0x2390]
  2169. 00001650  3600                     move.w     D3, D0
  2170. 00001652  256A 0078 0070           move.l     [A2 + 0x70], [A2 + 0x78]
  2171. 00001658  256A 007C 0074           move.l     [A2 + 0x74], [A2 + 0x7C]
  2172. 0000165E  4AAA 001C                tst.l      [A2 + 0x1C]
  2173. 00001662  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  2174. 00001666  6F30                     ble        +0x32 /* 00001698 */
  2175. 00001668  4AAA 0018                tst.l      [A2 + 0x18]
  2176. 0000166C  662A                     bne        +0x2C /* 00001698 */
  2177. 0000166E  486A 0018                pea.l      [A2 + 0x18]
  2178. 00001672  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  2179. 00001676  3F2A 00E4                move.w     -[A7], [A2 + 0xE4]
  2180. 0000167A  4EAD E730                jsr        [A5 - 0x18D0]
  2181. 0000167E  3600                     move.w     D3, D0
  2182. 00001680  4A43                     tst.w      D3
  2183. 00001682  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2184. 00001686  6710                     beq        +0x12 /* 00001698 */
  2185. 00001688  2F0B                     move.l     -[A7], A3
  2186. 0000168A  4EAD DD88                jsr        [A5 - 0x2278]
  2187. 0000168E  3003                     move.w     D0, D3
  2188. 00001690  504F                     addq.w     A7, 8
  2189. 00001692  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2190. 00001696  4E75                     rts
  2191. label00001698:
  2192. 00001698  002A 0004 00F2           ori.b      [A2 + 0xF2], 0x4
  2193. 0000169E  4A43                     tst.w      D3
  2194. 000016A0  662A                     bne        +0x2C /* 000016CC */
  2195. 000016A2  594F                     subq.w     A7, 4
  2196. 000016A4  A8D8                     syscall    NewRgn
  2197. 000016A6  205F                     movea.l    A0, [A7]+
  2198. 000016A8  2548 00DA                move.l     [A2 + 0xDA], A0
  2199. 000016AC  594F                     subq.w     A7, 4
  2200. 000016AE  A8D8                     syscall    NewRgn
  2201. 000016B0  205F                     movea.l    A0, [A7]+
  2202. 000016B2  2548 00DE                move.l     [A2 + 0xDE], A0
  2203. 000016B6  102C 0014                move.b     D0, [A4 + 0x14]
  2204. 000016BA  7201                     moveq.l    D1, 0x01
  2205. 000016BC  C081                     and.l      D0, D1
  2206. 000016BE  670C                     beq        +0xE /* 000016CC */
  2207. 000016C0  2F0C                     move.l     -[A7], A4
  2208. 000016C2  2F0A                     move.l     -[A7], A2
  2209. 000016C4  4EBA 0F28                jsr        [PC + 0xF28 /* 000025EE */]
  2210. 000016C8  3600                     move.w     D3, D0
  2211. 000016CA  504F                     addq.w     A7, 8
  2212. label000016CC:
  2213. 000016CC  2F0B                     move.l     -[A7], A3
  2214. 000016CE  4EAD DD88                jsr        [A5 - 0x2278]
  2215. 000016D2  3003                     move.w     D0, D3
  2216. 000016D4  504F                     addq.w     A7, 8
  2217. 000016D6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2218. 000016DA  4E75                     rts
  2219. fn000016DC:
  2220. 000016DC  2F0A                     move.l     -[A7], A2
  2221. 000016DE  246F 0008                movea.l    A2, [A7 + 0x8]
  2222. 000016E2  4AAF 000C                tst.l      [A7 + 0xC]
  2223. 000016E6  673A                     beq        +0x3C /* 00001722 */
  2224. 000016E8  2F2A 00D6                move.l     -[A7], [A2 + 0xD6]
  2225. 000016EC  4EAD DD40                jsr        [A5 - 0x22C0]
  2226. 000016F0  42A7                     clr.l      -[A7]
  2227. 000016F2  4EAD DD50                jsr        [A5 - 0x22B0]
  2228. 000016F6  4AAA 00EE                tst.l      [A2 + 0xEE]
  2229. 000016FA  504F                     addq.w     A7, 8
  2230. 000016FC  660E                     bne        +0x10 /* 0000170C */
  2231. 000016FE  4AAA 00DA                tst.l      [A2 + 0xDA]
  2232. 00001702  6708                     beq        +0xA /* 0000170C */
  2233. 00001704  2F2A 00DA                move.l     -[A7], [A2 + 0xDA]
  2234. 00001708  A879                     syscall    SetClip
  2235. 0000170A  601E                     bra        +0x20 /* 0000172A */
  2236. label0000170C:
  2237. 0000170C  7001                     moveq.l    D0, 0x01
  2238. 0000170E  B0AA 00EE                cmp.l      D0, [A2 + 0xEE]
  2239. 00001712  6616                     bne        +0x18 /* 0000172A */
  2240. 00001714  4AAA 00DE                tst.l      [A2 + 0xDE]
  2241. 00001718  6710                     beq        +0x12 /* 0000172A */
  2242. 0000171A  2F2A 00DE                move.l     -[A7], [A2 + 0xDE]
  2243. 0000171E  A879                     syscall    SetClip
  2244. 00001720  6008                     bra        +0xA /* 0000172A */
  2245. label00001722:
  2246. 00001722  4EAD DD58                jsr        [A5 - 0x22A8]
  2247. 00001726  4EAD DD48                jsr        [A5 - 0x22B8]
  2248. label0000172A:
  2249. 0000172A  245F                     movea.l    A2, [A7]+
  2250. 0000172C  4E75                     rts
  2251. fn0000172E:
  2252. 0000172E  4AAF 000C                tst.l      [A7 + 0xC]
  2253. 00001732  660E                     bne        +0x10 /* 00001742 */
  2254. 00001734  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  2255. 00001738  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  2256. 0000173C  4EBA FF9E                jsr        [PC - 0x62 /* 000016DC */]
  2257. 00001740  504F                     addq.w     A7, 8
  2258. label00001742:
  2259. 00001742  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  2260. 00001746  206F 0008                movea.l    A0, [A7 + 0x8]
  2261. 0000174A  2F28 0038                move.l     -[A7], [A0 + 0x38]
  2262. 0000174E  4EAD F4C0                jsr        [A5 - 0xB40]
  2263. 00001752  504F                     addq.w     A7, 8
  2264. 00001754  4E75                     rts
  2265. fn00001756:
  2266. 00001756  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  2267. 0000175A  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  2268. 0000175E  286F 0024                movea.l    A4, [A7 + 0x24]
  2269. 00001762  246F 002C                movea.l    A2, [A7 + 0x2C]
  2270. 00001766  266F 0030                movea.l    A3, [A7 + 0x30]
  2271. 0000176A  34AC 0080                move.w     [A2], [A4 + 0x80]
  2272. 0000176E  256C 0082 0002           move.l     [A2 + 0x2], [A4 + 0x82]
  2273. 00001774  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  2274. 00001778  2F0A                     move.l     -[A7], A2
  2275. 0000177A  4EBA E8BC                jsr        [PC - 0x1744 /* 00000038 */]
  2276. 0000177E  3600                     move.w     D3, D0
  2277. 00001780  504F                     addq.w     A7, 8
  2278. 00001782  670E                     beq        +0x10 /* 00001792 */
  2279. 00001784  3003                     move.w     D0, D3
  2280. 00001786  48C0                     ext.l      D0
  2281. 00001788  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2282. 0000178C  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2283. 00001790  4E75                     rts
  2284. label00001792:
  2285. 00001792  554F                     subq.w     A7, 2
  2286. 00001794  3F12                     move.w     -[A7], [A2]
  2287. 00001796  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  2288. 0000179A  486A 0006                pea.l      [A2 + 0x6]
  2289. 0000179E  486F 000C                pea.l      [A7 + 0xC]
  2290. 000017A2  4EAD DA06                jsr        [A5 - 0x25FA]
  2291. 000017A6  301F                     move.w     D0, [A7]+
  2292. 000017A8  3600                     move.w     D3, D0
  2293. 000017AA  670E                     beq        +0x10 /* 000017BA */
  2294. 000017AC  3003                     move.w     D0, D3
  2295. 000017AE  48C0                     ext.l      D0
  2296. 000017B0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2297. 000017B4  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2298. 000017B8  4E75                     rts
  2299. label000017BA:
  2300. 000017BA  0C97 4D6F 6F56           cmpi.l     [A7], 0x4D6F6F56 /* 'MooV' */
  2301. 000017C0  660C                     bne        +0xE /* 000017CE */
  2302. 000017C2  7000                     moveq.l    D0, 0x00
  2303. 000017C4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2304. 000017C8  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2305. 000017CC  4E75                     rts
  2306. label000017CE:
  2307. 000017CE  0C97 7366 696C           cmpi.l     [A7], 0x7366696C /* 'sfil' */
  2308. 000017D4  6606                     bne        +0x8 /* 000017DC */
  2309. 000017D6  0253 FDFF                andi.w     [A3], 0xFDFF
  2310. 000017DA  6004                     bra        +0x6 /* 000017E0 */
  2311. label000017DC:
  2312. 000017DC  0053 0200                ori.w      [A3], 0x200
  2313. label000017E0:
  2314. 000017E0  7001                     moveq.l    D0, 0x01
  2315. 000017E2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2316. 000017E6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2317. 000017EA  4E75                     rts
  2318. fn000017EC:
  2319. 000017EC  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  2320. 000017F0  554F                     subq.w     A7, 2
  2321. 000017F2  246F 001E                movea.l    A2, [A7 + 0x1E]
  2322. 000017F6  382F 0022                move.w     D4, [A7 + 0x22]
  2323. 000017FA  2A2F 0024                move.l     D5, [A7 + 0x24]
  2324. 000017FE  266F 0028                movea.l    A3, [A7 + 0x28]
  2325. 00001802  426A 0068                clr.w      [A2 + 0x68]
  2326. 00001806  2545 0062                move.l     [A2 + 0x62], D5
  2327. 0000180A  022A 00F7 006C           andi.b     [A2 + 0x6C], 0xF7
  2328. 00001810  200B                     move.l     D0, A3
  2329. 00001812  6700 00E4                beq        +0xE6 /* 000018F8 */
  2330. 00001816  41D3                     lea.l      A0, [A3]
  2331. 00001818  43EA 0008                lea.l      A1, [A2 + 0x8]
  2332. 0000181C  7010                     moveq.l    D0, 0x10
  2333. label0000181E:
  2334. 0000181E  22D8                     move.l     [A1]+, [A0]+
  2335. 00001820  51C8 FFFC                dbf        D0, -0x6 /* 0000181E */
  2336. 00001824  32D8                     move.w     [A1]+, [A0]+
  2337. 00001826  0804 0009                btst.b     D4, 0x9 /* '\t' */
  2338. 0000182A  6726                     beq        +0x28 /* 00001852 */
  2339. 0000182C  022A 00EF 006C           andi.b     [A2 + 0x6C], 0xEF
  2340. 00001832  554F                     subq.w     A7, 2
  2341. 00001834  3F2A 0008                move.w     -[A7], [A2 + 0x8]
  2342. 00001838  2F2A 000A                move.l     -[A7], [A2 + 0xA]
  2343. 0000183C  486A 000E                pea.l      [A2 + 0xE]
  2344. 00001840  1F3C 0001                move.b     -[A7], 0x1
  2345. 00001844  486A 0068                pea.l      [A2 + 0x68]
  2346. 00001848  4EAD D9FA                jsr        [A5 - 0x2606]
  2347. 0000184C  301F                     move.w     D0, [A7]+
  2348. 0000184E  3600                     move.w     D3, D0
  2349. 00001850  605A                     bra        +0x5C /* 000018AC */
  2350. label00001852:
  2351. 00001852  554F                     subq.w     A7, 2
  2352. 00001854  A994                     syscall    CurResFile
  2353. 00001856  301F                     move.w     D0, [A7]+
  2354. 00001858  3C00                     move.w     D6, D0
  2355. 0000185A  002A 0010 006C           ori.b      [A2 + 0x6C], 0x10
  2356. 00001860  554F                     subq.w     A7, 2
  2357. 00001862  3F2A 0008                move.w     -[A7], [A2 + 0x8]
  2358. 00001866  2F2A 000A                move.l     -[A7], [A2 + 0xA]
  2359. 0000186A  486A 000E                pea.l      [A2 + 0xE]
  2360. 0000186E  1F3C 0001                move.b     -[A7], 0x1
  2361. 00001872  4EAD DA1E                jsr        [A5 - 0x25E2]
  2362. 00001876  301F                     move.w     D0, [A7]+
  2363. 00001878  3540 0068                move.w     [A2 + 0x68], D0
  2364. 0000187C  554F                     subq.w     A7, 2
  2365. 0000187E  A9AF                     syscall    ResError
  2366. 00001880  301F                     move.w     D0, [A7]+
  2367. 00001882  3600                     move.w     D3, D0
  2368. 00001884  4A43                     tst.w      D3
  2369. 00001886  6620                     bne        +0x22 /* 000018A8 */
  2370. 00001888  3F2A 0068                move.w     -[A7], [A2 + 0x68]
  2371. 0000188C  A998                     syscall    UseResFile
  2372. 0000188E  4857                     pea.l      [A7]
  2373. 00001890  4EBA 1C82                jsr        [PC + 0x1C82 /* 00003514 */]
  2374. 00001894  3600                     move.w     D3, D0
  2375. 00001896  306F 0004                movea.w    A0, [A7 + 0x4]
  2376. 0000189A  2548 0062                move.l     [A2 + 0x62], A0
  2377. 0000189E  0C43 FF40                cmpi.w     D3, 0xFF40
  2378. 000018A2  584F                     addq.w     A7, 4
  2379. 000018A4  6602                     bne        +0x4 /* 000018A8 */
  2380. 000018A6  76D5                     moveq.l    D3, 0xFFFFFFD5
  2381. label000018A8:
  2382. 000018A8  3F06                     move.w     -[A7], D6
  2383. 000018AA  A998                     syscall    UseResFile
  2384. label000018AC:
  2385. 000018AC  0C43 FFD5                cmpi.w     D3, 0xFFD5
  2386. 000018B0  6712                     beq        +0x14 /* 000018C4 */
  2387. 000018B2  0C43 FF88                cmpi.w     D3, 0xFF88
  2388. 000018B6  670C                     beq        +0xE /* 000018C4 */
  2389. 000018B8  0C43 FFDD                cmpi.w     D3, 0xFFDD
  2390. 000018BC  6706                     beq        +0x8 /* 000018C4 */
  2391. 000018BE  0C43 FFDB                cmpi.w     D3, 0xFFDB
  2392. 000018C2  661E                     bne        +0x20 /* 000018E2 */
  2393. label000018C4:
  2394. 000018C4  302D 135E                move.w     D0, [A5 + 0x135E]
  2395. 000018C8  48C0                     ext.l      D0
  2396. 000018CA  0680 0000 0084           addi.l     D0, 0x84
  2397. 000018D0  3F00                     move.w     -[A7], D0
  2398. 000018D2  2F0A                     move.l     -[A7], A2
  2399. 000018D4  4EBA 086C                jsr        [PC + 0x86C /* 00002142 */]
  2400. 000018D8  7000                     moveq.l    D0, 0x00
  2401. 000018DA  504F                     addq.w     A7, 8
  2402. 000018DC  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  2403. 000018E0  4E75                     rts
  2404. label000018E2:
  2405. 000018E2  4A43                     tst.w      D3
  2406. 000018E4  670A                     beq        +0xC /* 000018F0 */
  2407. 000018E6  3003                     move.w     D0, D3
  2408. 000018E8  544F                     addq.w     A7, 2
  2409. 000018EA  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  2410. 000018EE  4E75                     rts
  2411. label000018F0:
  2412. 000018F0  002A 0080 006C           ori.b      [A2 + 0x6C], 0x80
  2413. 000018F6  6072                     bra        +0x74 /* 0000196A */
  2414. label000018F8:
  2415. 000018F8  7600                     moveq.l    D3, 0x00
  2416. 000018FA  554F                     subq.w     A7, 2
  2417. 000018FC  3F2A 0080                move.w     -[A7], [A2 + 0x80]
  2418. 00001900  2F2A 0082                move.l     -[A7], [A2 + 0x82]
  2419. 00001904  486A 0086                pea.l      [A2 + 0x86]
  2420. 00001908  1F3C 0001                move.b     -[A7], 0x1
  2421. 0000190C  486A 0068                pea.l      [A2 + 0x68]
  2422. 00001910  4EAD D9FA                jsr        [A5 - 0x2606]
  2423. 00001914  301F                     move.w     D0, [A7]+
  2424. 00001916  3600                     move.w     D3, D0
  2425. 00001918  4A43                     tst.w      D3
  2426. 0000191A  670A                     beq        +0xC /* 00001926 */
  2427. 0000191C  3003                     move.w     D0, D3
  2428. 0000191E  544F                     addq.w     A7, 2
  2429. 00001920  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  2430. 00001924  4E75                     rts
  2431. label00001926:
  2432. 00001926  022A 007F 006C           andi.b     [A2 + 0x6C], 0x7F
  2433. 0000192C  2F05                     move.l     -[A7], D5
  2434. 0000192E  4878 0048                push.l     0x48 /* 'H' */
  2435. 00001932  4EAD DB26                jsr        [A5 - 0x24DA]
  2436. 00001936  2648                     movea.l    A3, A0
  2437. 00001938  4EAD DB02                jsr        [A5 - 0x24FE]
  2438. 0000193C  3600                     move.w     D3, D0
  2439. 0000193E  0C43 FF94                cmpi.w     D3, 0xFF94
  2440. 00001942  504F                     addq.w     A7, 8
  2441. 00001944  660A                     bne        +0xC /* 00001950 */
  2442. 00001946  3003                     move.w     D0, D3
  2443. 00001948  544F                     addq.w     A7, 2
  2444. 0000194A  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  2445. 0000194E  4E75                     rts
  2446. label00001950:
  2447. 00001950  7600                     moveq.l    D3, 0x00
  2448. 00001952  200B                     move.l     D0, A3
  2449. 00001954  670E                     beq        +0x10 /* 00001964 */
  2450. 00001956  2053                     movea.l    A0, [A3]
  2451. 00001958  2550 0062                move.l     [A2 + 0x62], [A0]
  2452. 0000195C  7047                     moveq.l    D0, 0x47
  2453. 0000195E  2540 005E                move.l     [A2 + 0x5E], D0
  2454. 00001962  6006                     bra        +0x8 /* 0000196A */
  2455. label00001964:
  2456. 00001964  7021                     moveq.l    D0, 0x21
  2457. 00001966  2540 005E                move.l     [A2 + 0x5E], D0
  2458. label0000196A:
  2459. 0000196A  426A 006A                clr.w      [A2 + 0x6A]
  2460. 0000196E  3004                     move.w     D0, D4
  2461. 00001970  7204                     moveq.l    D1, 0x04
  2462. 00001972  C081                     and.l      D0, D1
  2463. 00001974  56C0                     sne        D0
  2464. 00001976  4400                     neg.b      D0
  2465. 00001978  4880                     ext.w      D0
  2466. 0000197A  48C0                     ext.l      D0
  2467. 0000197C  E308                     lsl        D0.b, 1
  2468. 0000197E  0200 0002                andi.b     D0, 0x2
  2469. 00001982  022A 00FD 006C           andi.b     [A2 + 0x6C], 0xFD
  2470. 00001988  812A 006C                or.b       [A2 + 0x6C], D0
  2471. 0000198C  3004                     move.w     D0, D4
  2472. 0000198E  7220                     moveq.l    D1, 0x20
  2473. 00001990  C081                     and.l      D0, D1
  2474. 00001992  6700 016A                beq        +0x16C /* 00001AFE */
  2475. 00001996  486A 0070                pea.l      [A2 + 0x70]
  2476. 0000199A  42A7                     clr.l      -[A7]
  2477. 0000199C  42A7                     clr.l      -[A7]
  2478. 0000199E  A8A7                     syscall    SetRect
  2479. 000019A0  594F                     subq.w     A7, 4
  2480. 000019A2  302D 135E                move.w     D0, [A5 + 0x135E]
  2481. 000019A6  48C0                     ext.l      D0
  2482. 000019A8  0680 0000 0090           addi.l     D0, 0x90
  2483. 000019AE  3F00                     move.w     -[A7], D0
  2484. 000019B0  2F2A 00D6                move.l     -[A7], [A2 + 0xD6]
  2485. 000019B4  A9BE                     syscall    GetNewControl
  2486. 000019B6  205F                     movea.l    A0, [A7]+
  2487. 000019B8  2548 004E                move.l     [A2 + 0x4E], A0
  2488. 000019BC  2008                     move.l     D0, A0
  2489. 000019BE  6734                     beq        +0x36 /* 000019F4 */
  2490. 000019C0  266A 004E                movea.l    A3, [A2 + 0x4E]
  2491. 000019C4  2653                     movea.l    A3, [A3]
  2492. 000019C6  508B                     addq.l     A3, 8
  2493. 000019C8  2F0B                     move.l     -[A7], A3
  2494. 000019CA  486A 0070                pea.l      [A2 + 0x70]
  2495. 000019CE  486A 0070                pea.l      [A2 + 0x70]
  2496. 000019D2  A8AB                     syscall    UnionRect
  2497. 000019D4  302B 0002                move.w     D0, [A3 + 0x2]
  2498. 000019D8  48C0                     ext.l      D0
  2499. 000019DA  322B 0006                move.w     D1, [A3 + 0x6]
  2500. 000019DE  48C1                     ext.l      D1
  2501. 000019E0  9280                     sub.l      D1, D0
  2502. 000019E2  D36A 006A                add.w      [A2 + 0x6A], D1
  2503. 000019E6  4878 0001                push.l     0x1
  2504. 000019EA  2F2A 004E                move.l     -[A7], [A2 + 0x4E]
  2505. 000019EE  4EAD E920                jsr        [A5 - 0x16E0]
  2506. 000019F2  504F                     addq.w     A7, 8
  2507. label000019F4:
  2508. 000019F4  594F                     subq.w     A7, 4
  2509. 000019F6  302D 135E                move.w     D0, [A5 + 0x135E]
  2510. 000019FA  48C0                     ext.l      D0
  2511. 000019FC  0680 0000 0091           addi.l     D0, 0x91
  2512. 00001A02  3F00                     move.w     -[A7], D0
  2513. 00001A04  2F2A 00D6                move.l     -[A7], [A2 + 0xD6]
  2514. 00001A08  A9BE                     syscall    GetNewControl
  2515. 00001A0A  205F                     movea.l    A0, [A7]+
  2516. 00001A0C  2548 0052                move.l     [A2 + 0x52], A0
  2517. 00001A10  2008                     move.l     D0, A0
  2518. 00001A12  6736                     beq        +0x38 /* 00001A4A */
  2519. 00001A14  266A 0052                movea.l    A3, [A2 + 0x52]
  2520. 00001A18  2653                     movea.l    A3, [A3]
  2521. 00001A1A  508B                     addq.l     A3, 8
  2522. 00001A1C  2F0B                     move.l     -[A7], A3
  2523. 00001A1E  486A 0070                pea.l      [A2 + 0x70]
  2524. 00001A22  486A 0070                pea.l      [A2 + 0x70]
  2525. 00001A26  A8AB                     syscall    UnionRect
  2526. 00001A28  302B 0002                move.w     D0, [A3 + 0x2]
  2527. 00001A2C  48C0                     ext.l      D0
  2528. 00001A2E  322B 0006                move.w     D1, [A3 + 0x6]
  2529. 00001A32  48C1                     ext.l      D1
  2530. 00001A34  9280                     sub.l      D1, D0
  2531. 00001A36  5381                     subq.l     D1, 1
  2532. 00001A38  D36A 006A                add.w      [A2 + 0x6A], D1
  2533. 00001A3C  4878 0001                push.l     0x1
  2534. 00001A40  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  2535. 00001A44  4EAD E920                jsr        [A5 - 0x16E0]
  2536. 00001A48  504F                     addq.w     A7, 8
  2537. label00001A4A:
  2538. 00001A4A  594F                     subq.w     A7, 4
  2539. 00001A4C  302D 135E                move.w     D0, [A5 + 0x135E]
  2540. 00001A50  48C0                     ext.l      D0
  2541. 00001A52  0680 0000 0094           addi.l     D0, 0x94
  2542. 00001A58  3F00                     move.w     -[A7], D0
  2543. 00001A5A  2F2A 00D6                move.l     -[A7], [A2 + 0xD6]
  2544. 00001A5E  A9BE                     syscall    GetNewControl
  2545. 00001A60  205F                     movea.l    A0, [A7]+
  2546. 00001A62  2548 005A                move.l     [A2 + 0x5A], A0
  2547. 00001A66  2008                     move.l     D0, A0
  2548. 00001A68  6736                     beq        +0x38 /* 00001AA0 */
  2549. 00001A6A  266A 005A                movea.l    A3, [A2 + 0x5A]
  2550. 00001A6E  2653                     movea.l    A3, [A3]
  2551. 00001A70  508B                     addq.l     A3, 8
  2552. 00001A72  2F0B                     move.l     -[A7], A3
  2553. 00001A74  486A 0070                pea.l      [A2 + 0x70]
  2554. 00001A78  486A 0070                pea.l      [A2 + 0x70]
  2555. 00001A7C  A8AB                     syscall    UnionRect
  2556. 00001A7E  302B 0002                move.w     D0, [A3 + 0x2]
  2557. 00001A82  48C0                     ext.l      D0
  2558. 00001A84  322B 0006                move.w     D1, [A3 + 0x6]
  2559. 00001A88  48C1                     ext.l      D1
  2560. 00001A8A  9280                     sub.l      D1, D0
  2561. 00001A8C  5381                     subq.l     D1, 1
  2562. 00001A8E  D36A 006A                add.w      [A2 + 0x6A], D1
  2563. 00001A92  4878 0001                push.l     0x1
  2564. 00001A96  2F2A 005A                move.l     -[A7], [A2 + 0x5A]
  2565. 00001A9A  4EAD E920                jsr        [A5 - 0x16E0]
  2566. 00001A9E  504F                     addq.w     A7, 8
  2567. label00001AA0:
  2568. 00001AA0  594F                     subq.w     A7, 4
  2569. 00001AA2  302D 135E                move.w     D0, [A5 + 0x135E]
  2570. 00001AA6  48C0                     ext.l      D0
  2571. 00001AA8  0680 0000 0092           addi.l     D0, 0x92
  2572. 00001AAE  3F00                     move.w     -[A7], D0
  2573. 00001AB0  2F2A 00D6                move.l     -[A7], [A2 + 0xD6]
  2574. 00001AB4  A9BE                     syscall    GetNewControl
  2575. 00001AB6  205F                     movea.l    A0, [A7]+
  2576. 00001AB8  2548 0056                move.l     [A2 + 0x56], A0
  2577. 00001ABC  2008                     move.l     D0, A0
  2578. 00001ABE  6736                     beq        +0x38 /* 00001AF6 */
  2579. 00001AC0  266A 0056                movea.l    A3, [A2 + 0x56]
  2580. 00001AC4  2653                     movea.l    A3, [A3]
  2581. 00001AC6  508B                     addq.l     A3, 8
  2582. 00001AC8  2F0B                     move.l     -[A7], A3
  2583. 00001ACA  486A 0070                pea.l      [A2 + 0x70]
  2584. 00001ACE  486A 0070                pea.l      [A2 + 0x70]
  2585. 00001AD2  A8AB                     syscall    UnionRect
  2586. 00001AD4  302B 0002                move.w     D0, [A3 + 0x2]
  2587. 00001AD8  48C0                     ext.l      D0
  2588. 00001ADA  322B 0006                move.w     D1, [A3 + 0x6]
  2589. 00001ADE  48C1                     ext.l      D1
  2590. 00001AE0  9280                     sub.l      D1, D0
  2591. 00001AE2  5381                     subq.l     D1, 1
  2592. 00001AE4  D36A 006A                add.w      [A2 + 0x6A], D1
  2593. 00001AE8  4878 0001                push.l     0x1
  2594. 00001AEC  2F2A 0056                move.l     -[A7], [A2 + 0x56]
  2595. 00001AF0  4EAD E920                jsr        [A5 - 0x16E0]
  2596. 00001AF4  504F                     addq.w     A7, 8
  2597. label00001AF6:
  2598. 00001AF6  356A 006A 0076           move.w     [A2 + 0x76], [A2 + 0x6A]
  2599. 00001AFC  600E                     bra        +0x10 /* 00001B0C */
  2600. label00001AFE:
  2601. 00001AFE  486A 0070                pea.l      [A2 + 0x70]
  2602. 00001B02  42A7                     clr.l      -[A7]
  2603. 00001B04  2F3C 0001 0001           move.l     -[A7], 0x10001
  2604. 00001B0A  A8A7                     syscall    SetRect
  2605. label00001B0C:
  2606. 00001B0C  002A 0008 00F2           ori.b      [A2 + 0xF2], 0x8
  2607. 00001B12  594F                     subq.w     A7, 4
  2608. 00001B14  A8D8                     syscall    NewRgn
  2609. 00001B16  205F                     movea.l    A0, [A7]+
  2610. 00001B18  2548 00DA                move.l     [A2 + 0xDA], A0
  2611. 00001B1C  594F                     subq.w     A7, 4
  2612. 00001B1E  A8D8                     syscall    NewRgn
  2613. 00001B20  205F                     movea.l    A0, [A7]+
  2614. 00001B22  2548 00DE                move.l     [A2 + 0xDE], A0
  2615. 00001B26  3004                     move.w     D0, D4
  2616. 00001B28  7240                     moveq.l    D1, 0x40
  2617. 00001B2A  C081                     and.l      D0, D1
  2618. 00001B2C  6726                     beq        +0x28 /* 00001B54 */
  2619. 00001B2E  022A 007F 00D2           andi.b     [A2 + 0xD2], 0x7F
  2620. 00001B34  302A 0070                move.w     D0, [A2 + 0x70]
  2621. 00001B38  48C0                     ext.l      D0
  2622. 00001B3A  322A 0074                move.w     D1, [A2 + 0x74]
  2623. 00001B3E  48C1                     ext.l      D1
  2624. 00001B40  9280                     sub.l      D1, D0
  2625. 00001B42  3541 00D0                move.w     [A2 + 0xD0], D1
  2626. 00001B46  2F05                     move.l     -[A7], D5
  2627. 00001B48  3F04                     move.w     -[A7], D4
  2628. 00001B4A  2F0A                     move.l     -[A7], A2
  2629. 00001B4C  4EBA 0C20                jsr        [PC + 0xC20 /* 0000276E */]
  2630. 00001B50  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2631. label00001B54:
  2632. 00001B54  7000                     moveq.l    D0, 0x00
  2633. 00001B56  544F                     addq.w     A7, 2
  2634. 00001B58  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  2635. 00001B5C  4E75                     rts
  2636. fn00001B5E:
  2637. 00001B5E  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  2638. 00001B62  4FEF FFB0                lea.l      A7, [A7 - 0x50]
  2639. 00001B66  246F 0064                movea.l    A2, [A7 + 0x64]
  2640. 00001B6A  262F 006A                move.l     D3, [A7 + 0x6A]
  2641. 00001B6E  426F 004E                clr.w      [A7 + 0x4E]
  2642. 00001B72  4AAD 1322                tst.l      [A5 + 0x1322 /* export_608 */]
  2643. 00001B76  661A                     bne        +0x1C /* 00001B92 */
  2644. 00001B78  302D 135E                move.w     D0, [A5 + 0x135E]
  2645. 00001B7C  48C0                     ext.l      D0
  2646. 00001B7E  0680 0000 0083           addi.l     D0, 0x83
  2647. 00001B84  3F00                     move.w     -[A7], D0
  2648. 00001B86  2F0A                     move.l     -[A7], A2
  2649. 00001B88  4EBA 05B8                jsr        [PC + 0x5B8 /* 00002142 */]
  2650. 00001B8C  5C4F                     addq.w     A7, 6
  2651. 00001B8E  6000 029A                bra        +0x29C /* 00001E2A */
  2652. label00001B92:
  2653. 00001B92  2F03                     move.l     -[A7], D3
  2654. 00001B94  4878 0048                push.l     0x48 /* 'H' */
  2655. 00001B98  4EAD DB26                jsr        [A5 - 0x24DA]
  2656. 00001B9C  2648                     movea.l    A3, A0
  2657. 00001B9E  4EAD DB02                jsr        [A5 - 0x24FE]
  2658. 00001BA2  3F40 0056                move.w     [A7 + 0x56], D0
  2659. 00001BA6  0C40 FF94                cmpi.w     D0, 0xFF94
  2660. 00001BAA  504F                     addq.w     A7, 8
  2661. 00001BAC  6700 027C                beq        +0x27E /* 00001E2A */
  2662. 00001BB0  426F 004E                clr.w      [A7 + 0x4E]
  2663. 00001BB4  200B                     move.l     D0, A3
  2664. 00001BB6  6708                     beq        +0xA /* 00001BC0 */
  2665. 00001BB8  2053                     movea.l    A0, [A3]
  2666. 00001BBA  2610                     move.l     D3, [A0]
  2667. 00001BBC  7846                     moveq.l    D4, 0x46
  2668. 00001BBE  6002                     bra        +0x4 /* 00001BC2 */
  2669. label00001BC0:
  2670. 00001BC0  7821                     moveq.l    D4, 0x21
  2671. label00001BC2:
  2672. 00001BC2  302F 0068                move.w     D0, [A7 + 0x68]
  2673. 00001BC6  7202                     moveq.l    D1, 0x02
  2674. 00001BC8  C081                     and.l      D0, D1
  2675. 00001BCA  6716                     beq        +0x18 /* 00001BE2 */
  2676. 00001BCC  2F04                     move.l     -[A7], D4
  2677. 00001BCE  2F03                     move.l     -[A7], D3
  2678. 00001BD0  486A 0020                pea.l      [A2 + 0x20]
  2679. 00001BD4  4EBA 0276                jsr        [PC + 0x276 /* 00001E4C */]
  2680. 00001BD8  3F40 005A                move.w     [A7 + 0x5A], D0
  2681. 00001BDC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2682. 00001BE0  6068                     bra        +0x6A /* 00001C4A */
  2683. label00001BE2:
  2684. 00001BE2  486F 004E                pea.l      [A7 + 0x4E]
  2685. 00001BE6  486F 006C                pea.l      [A7 + 0x6C]
  2686. 00001BEA  486F 0010                pea.l      [A7 + 0x10]
  2687. 00001BEE  2F03                     move.l     -[A7], D3
  2688. 00001BF0  2F0A                     move.l     -[A7], A2
  2689. 00001BF2  4EBA FB62                jsr        [PC - 0x49E /* 00001756 */]
  2690. 00001BF6  4A80                     tst.l      D0
  2691. 00001BF8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2692. 00001BFC  673A                     beq        +0x3C /* 00001C38 */
  2693. 00001BFE  0C6F FFD5 004E           cmpi.w     [A7 + 0x4E], 0xFFD5
  2694. 00001C04  6744                     beq        +0x46 /* 00001C4A */
  2695. 00001C06  0C6F FF88 004E           cmpi.w     [A7 + 0x4E], 0xFF88
  2696. 00001C0C  673C                     beq        +0x3E /* 00001C4A */
  2697. 00001C0E  0C6F FFDD 004E           cmpi.w     [A7 + 0x4E], 0xFFDD
  2698. 00001C14  6734                     beq        +0x36 /* 00001C4A */
  2699. 00001C16  0C6F FFDB 004E           cmpi.w     [A7 + 0x4E], 0xFFDB
  2700. 00001C1C  672C                     beq        +0x2E /* 00001C4A */
  2701. 00001C1E  486F 0008                pea.l      [A7 + 0x8]
  2702. 00001C22  2F03                     move.l     -[A7], D3
  2703. 00001C24  3F2F 0070                move.w     -[A7], [A7 + 0x70]
  2704. 00001C28  2F0A                     move.l     -[A7], A2
  2705. 00001C2A  4EBA FBC0                jsr        [PC - 0x440 /* 000017EC */]
  2706. 00001C2E  4FEF 005E                lea.l      A7, [A7 + 0x5E]
  2707. 00001C32  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  2708. 00001C36  4E75                     rts
  2709. label00001C38:
  2710. 00001C38  486F 0008                pea.l      [A7 + 0x8]
  2711. 00001C3C  486A 0020                pea.l      [A2 + 0x20]
  2712. 00001C40  4EBA 0276                jsr        [PC + 0x276 /* 00001EB8 */]
  2713. 00001C44  3F40 0056                move.w     [A7 + 0x56], D0
  2714. 00001C48  504F                     addq.w     A7, 8
  2715. label00001C4A:
  2716. 00001C4A  0C6F FFD5 004E           cmpi.w     [A7 + 0x4E], 0xFFD5
  2717. 00001C50  6718                     beq        +0x1A /* 00001C6A */
  2718. 00001C52  0C6F FF88 004E           cmpi.w     [A7 + 0x4E], 0xFF88
  2719. 00001C58  6710                     beq        +0x12 /* 00001C6A */
  2720. 00001C5A  0C6F FFDD 004E           cmpi.w     [A7 + 0x4E], 0xFFDD
  2721. 00001C60  6708                     beq        +0xA /* 00001C6A */
  2722. 00001C62  0C6F FFDB 004E           cmpi.w     [A7 + 0x4E], 0xFFDB
  2723. 00001C68  661E                     bne        +0x20 /* 00001C88 */
  2724. label00001C6A:
  2725. 00001C6A  426F 004E                clr.w      [A7 + 0x4E]
  2726. 00001C6E  302D 135E                move.w     D0, [A5 + 0x135E]
  2727. 00001C72  48C0                     ext.l      D0
  2728. 00001C74  0680 0000 0084           addi.l     D0, 0x84
  2729. 00001C7A  3F00                     move.w     -[A7], D0
  2730. 00001C7C  2F0A                     move.l     -[A7], A2
  2731. 00001C7E  4EBA 04C2                jsr        [PC + 0x4C2 /* 00002142 */]
  2732. 00001C82  5C4F                     addq.w     A7, 6
  2733. 00001C84  6000 01A4                bra        +0x1A6 /* 00001E2A */
  2734. label00001C88:
  2735. 00001C88  4A6F 004E                tst.w      [A7 + 0x4E]
  2736. 00001C8C  6600 019C                bne        +0x19E /* 00001E2A */
  2737. 00001C90  002A 0040 00F2           ori.b      [A2 + 0xF2], 0x40 /* '@' */
  2738. 00001C96  002A 0010 0028           ori.b      [A2 + 0x28], 0x10
  2739. 00001C9C  2F2A 0020                move.l     -[A7], [A2 + 0x20]
  2740. 00001CA0  486A 0070                pea.l      [A2 + 0x70]
  2741. 00001CA4  303C 00F9                move.w     D0, 0xF9
  2742. 00001CA8  AAAA                     syscall    QuickTimeDispatch
  2743. 00001CAA  594F                     subq.w     A7, 4
  2744. 00001CAC  2F2A 0020                move.l     -[A7], [A2 + 0x20]
  2745. 00001CB0  486A 0070                pea.l      [A2 + 0x70]
  2746. 00001CB4  4878 0001                push.l     0x1
  2747. 00001CB8  303C 018A                move.w     D0, 0x18A
  2748. 00001CBC  AAAA                     syscall    QuickTimeDispatch
  2749. 00001CBE  205F                     movea.l    A0, [A7]+
  2750. 00001CC0  2548 0024                move.l     [A2 + 0x24], A0
  2751. 00001CC4  554F                     subq.w     A7, 2
  2752. 00001CC6  7003                     moveq.l    D0, 0x03
  2753. 00001CC8  AAAA                     syscall    QuickTimeDispatch
  2754. 00001CCA  301F                     move.w     D0, [A7]+
  2755. 00001CCC  3F40 004E                move.w     [A7 + 0x4E], D0
  2756. 00001CD0  6600 0158                bne        +0x15A /* 00001E2A */
  2757. 00001CD4  302F 0068                move.w     D0, [A7 + 0x68]
  2758. 00001CD8  7210                     moveq.l    D1, 0x10
  2759. 00001CDA  C081                     and.l      D0, D1
  2760. 00001CDC  57C0                     seq        D0
  2761. 00001CDE  4400                     neg.b      D0
  2762. 00001CE0  4880                     ext.w      D0
  2763. 00001CE2  48C0                     ext.l      D0
  2764. 00001CE4  EF08                     lsl        D0.b, 7
  2765. 00001CE6  0200 0080                andi.b     D0, 0x80
  2766. 00001CEA  022A 007F 0028           andi.b     [A2 + 0x28], 0x7F
  2767. 00001CF0  812A 0028                or.b       [A2 + 0x28], D0
  2768. 00001CF4  082A 0007 0028           btst.b     [A2 + 0x28], 0x7
  2769. 00001CFA  6604                     bne        +0x6 /* 00001D00 */
  2770. 00001CFC  7001                     moveq.l    D0, 0x01
  2771. 00001CFE  6002                     bra        +0x4 /* 00001D02 */
  2772. label00001D00:
  2773. 00001D00  7000                     moveq.l    D0, 0x00
  2774. label00001D02:
  2775. 00001D02  2800                     move.l     D4, D0
  2776. 00001D04  302F 0068                move.w     D0, [A7 + 0x68]
  2777. 00001D08  7220                     moveq.l    D1, 0x20
  2778. 00001D0A  C081                     and.l      D0, D1
  2779. 00001D0C  6614                     bne        +0x16 /* 00001D22 */
  2780. 00001D0E  594F                     subq.w     A7, 4
  2781. 00001D10  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2782. 00001D14  4227                     clr.b      -[A7]
  2783. 00001D16  2F3C 0002 000E           move.l     -[A7], 0x2000E
  2784. 00001D1C  7000                     moveq.l    D0, 0x00
  2785. 00001D1E  A82A                     syscall    ComponentDispatch
  2786. 00001D20  201F                     move.l     D0, [A7]+
  2787. label00001D22:
  2788. 00001D22  302F 0068                move.w     D0, [A7 + 0x68]
  2789. 00001D26  7208                     moveq.l    D1, 0x08
  2790. 00001D28  C081                     and.l      D0, D1
  2791. 00001D2A  671A                     beq        +0x1C /* 00001D46 */
  2792. 00001D2C  594F                     subq.w     A7, 4
  2793. 00001D2E  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2794. 00001D32  3F3C 0015                move.w     -[A7], 0x15
  2795. 00001D36  4878 0001                push.l     0x1
  2796. 00001D3A  2F3C 0006 0009           move.l     -[A7], 0x60009
  2797. 00001D40  7000                     moveq.l    D0, 0x00
  2798. 00001D42  A82A                     syscall    ComponentDispatch
  2799. 00001D44  201F                     move.l     D0, [A7]+
  2800. label00001D46:
  2801. 00001D46  302F 0068                move.w     D0, [A7 + 0x68]
  2802. 00001D4A  7204                     moveq.l    D1, 0x04
  2803. 00001D4C  C081                     and.l      D0, D1
  2804. 00001D4E  56C0                     sne        D0
  2805. 00001D50  4400                     neg.b      D0
  2806. 00001D52  4880                     ext.w      D0
  2807. 00001D54  48C0                     ext.l      D0
  2808. 00001D56  EB08                     lsl        D0.b, 5
  2809. 00001D58  0200 0020                andi.b     D0, 0x20 /* ' ' */
  2810. 00001D5C  022A 00DF 0028           andi.b     [A2 + 0x28], 0xDF
  2811. 00001D62  812A 0028                or.b       [A2 + 0x28], D0
  2812. 00001D66  594F                     subq.w     A7, 4
  2813. 00001D68  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2814. 00001D6C  3F3C 0026                move.w     -[A7], 0x26 /* '&' */
  2815. 00001D70  2F04                     move.l     -[A7], D4
  2816. 00001D72  2F3C 0006 0009           move.l     -[A7], 0x60009
  2817. 00001D78  7000                     moveq.l    D0, 0x00
  2818. 00001D7A  A82A                     syscall    ComponentDispatch
  2819. 00001D7C  201F                     move.l     D0, [A7]+
  2820. 00001D7E  594F                     subq.w     A7, 4
  2821. 00001D80  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2822. 00001D84  4227                     clr.b      -[A7]
  2823. 00001D86  2F3C 0002 000A           move.l     -[A7], 0x2000A
  2824. 00001D8C  7000                     moveq.l    D0, 0x00
  2825. 00001D8E  A82A                     syscall    ComponentDispatch
  2826. 00001D90  201F                     move.l     D0, [A7]+
  2827. 00001D92  302F 0068                move.w     D0, [A7 + 0x68]
  2828. 00001D96  7220                     moveq.l    D1, 0x20
  2829. 00001D98  C081                     and.l      D0, D1
  2830. 00001D9A  6732                     beq        +0x34 /* 00001DCE */
  2831. 00001D9C  594F                     subq.w     A7, 4
  2832. 00001D9E  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2833. 00001DA2  486F 0008                pea.l      [A7 + 0x8]
  2834. 00001DA6  2F3C 0004 0010           move.l     -[A7], 0x40010
  2835. 00001DAC  7000                     moveq.l    D0, 0x00
  2836. 00001DAE  A82A                     syscall    ComponentDispatch
  2837. 00001DB0  201F                     move.l     D0, [A7]+
  2838. 00001DB2  3017                     move.w     D0, [A7]
  2839. 00001DB4  48C0                     ext.l      D0
  2840. 00001DB6  322F 0004                move.w     D1, [A7 + 0x4]
  2841. 00001DBA  48C1                     ext.l      D1
  2842. 00001DBC  9280                     sub.l      D1, D0
  2843. 00001DBE  3541 002C                move.w     [A2 + 0x2C], D1
  2844. 00001DC2  4857                     pea.l      [A7]
  2845. 00001DC4  486A 0070                pea.l      [A2 + 0x70]
  2846. 00001DC8  486A 0070                pea.l      [A2 + 0x70]
  2847. 00001DCC  A8AB                     syscall    UnionRect
  2848. label00001DCE:
  2849. 00001DCE  302F 0068                move.w     D0, [A7 + 0x68]
  2850. 00001DD2  7240                     moveq.l    D1, 0x40
  2851. 00001DD4  C081                     and.l      D0, D1
  2852. 00001DD6  6746                     beq        +0x48 /* 00001E1E */
  2853. 00001DD8  082A 0007 0028           btst.b     [A2 + 0x28], 0x7
  2854. 00001DDE  671C                     beq        +0x1E /* 00001DFC */
  2855. 00001DE0  302F 0068                move.w     D0, [A7 + 0x68]
  2856. 00001DE4  7220                     moveq.l    D1, 0x20
  2857. 00001DE6  C081                     and.l      D0, D1
  2858. 00001DE8  6604                     bne        +0x6 /* 00001DEE */
  2859. 00001DEA  526A 0076                addq.w     [A2 + 0x76], 1
  2860. label00001DEE:
  2861. 00001DEE  002A 0080 00D2           ori.b      [A2 + 0xD2], 0x80
  2862. 00001DF4  356A 002C 00D0           move.w     [A2 + 0xD0], [A2 + 0x2C]
  2863. 00001DFA  6012                     bra        +0x14 /* 00001E0E */
  2864. label00001DFC:
  2865. 00001DFC  022A 007F 00D2           andi.b     [A2 + 0xD2], 0x7F
  2866. 00001E02  302A 002C                move.w     D0, [A2 + 0x2C]
  2867. 00001E06  48C0                     ext.l      D0
  2868. 00001E08  5280                     addq.l     D0, 1
  2869. 00001E0A  3540 00D0                move.w     [A2 + 0xD0], D0
  2870. label00001E0E:
  2871. 00001E0E  2F03                     move.l     -[A7], D3
  2872. 00001E10  3F2F 006C                move.w     -[A7], [A7 + 0x6C]
  2873. 00001E14  2F0A                     move.l     -[A7], A2
  2874. 00001E16  4EBA 0956                jsr        [PC + 0x956 /* 0000276E */]
  2875. 00001E1A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2876. label00001E1E:
  2877. 00001E1E  256A 0070 0078           move.l     [A2 + 0x78], [A2 + 0x70]
  2878. 00001E24  256A 0074 007C           move.l     [A2 + 0x7C], [A2 + 0x74]
  2879. label00001E2A:
  2880. 00001E2A  4A6F 004E                tst.w      [A7 + 0x4E]
  2881. 00001E2E  670E                     beq        +0x10 /* 00001E3E */
  2882. 00001E30  4AAA 0020                tst.l      [A2 + 0x20]
  2883. 00001E34  6708                     beq        +0xA /* 00001E3E */
  2884. 00001E36  2F2A 0020                move.l     -[A7], [A2 + 0x20]
  2885. 00001E3A  7023                     moveq.l    D0, 0x23
  2886. 00001E3C  AAAA                     syscall    QuickTimeDispatch
  2887. label00001E3E:
  2888. 00001E3E  302F 004E                move.w     D0, [A7 + 0x4E]
  2889. 00001E42  4FEF 0050                lea.l      A7, [A7 + 0x50]
  2890. 00001E46  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  2891. 00001E4A  4E75                     rts
  2892. fn00001E4C:
  2893. 00001E4C  2F03                     move.l     -[A7], D3
  2894. 00001E4E  514F                     subq.w     A7, 8
  2895. 00001E50  262F 0018                move.l     D3, [A7 + 0x18]
  2896. 00001E54  486F 0004                pea.l      [A7 + 0x4]
  2897. 00001E58  486F 0006                pea.l      [A7 + 0x6]
  2898. 00001E5C  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  2899. 00001E60  2F03                     move.l     -[A7], D3
  2900. 00001E62  4EAD DB4A                jsr        [A5 - 0x24B6]
  2901. 00001E66  4EAD DB02                jsr        [A5 - 0x24FE]
  2902. 00001E6A  3600                     move.w     D3, D0
  2903. 00001E6C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2904. 00001E70  6708                     beq        +0xA /* 00001E7A */
  2905. 00001E72  3003                     move.w     D0, D3
  2906. 00001E74  504F                     addq.w     A7, 8
  2907. 00001E76  261F                     move.l     D3, [A7]+
  2908. 00001E78  4E75                     rts
  2909. label00001E7A:
  2910. 00001E7A  486F 0004                pea.l      [A7 + 0x4]
  2911. 00001E7E  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  2912. 00001E82  4EAD DAF0                jsr        [A5 - 0x2510]
  2913. 00001E86  3600                     move.w     D3, D0
  2914. 00001E88  5C4F                     addq.w     A7, 6
  2915. 00001E8A  6708                     beq        +0xA /* 00001E94 */
  2916. 00001E8C  3003                     move.w     D0, D3
  2917. 00001E8E  504F                     addq.w     A7, 8
  2918. 00001E90  261F                     move.l     D3, [A7]+
  2919. 00001E92  4E75                     rts
  2920. label00001E94:
  2921. 00001E94  554F                     subq.w     A7, 2
  2922. 00001E96  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2923. 00001E9A  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  2924. 00001E9E  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  2925. 00001EA2  3F3C 0003                move.w     -[A7], 0x3
  2926. 00001EA6  486F 000F                pea.l      [A7 + 0xF]
  2927. 00001EAA  303C 01B3                move.w     D0, 0x1B3
  2928. 00001EAE  AAAA                     syscall    QuickTimeDispatch
  2929. 00001EB0  301F                     move.w     D0, [A7]+
  2930. 00001EB2  504F                     addq.w     A7, 8
  2931. 00001EB4  261F                     move.l     D3, [A7]+
  2932. 00001EB6  4E75                     rts
  2933. fn00001EB8:
  2934. 00001EB8  2F03                     move.l     -[A7], D3
  2935. 00001EBA  554F                     subq.w     A7, 2
  2936. 00001EBC  554F                     subq.w     A7, 2
  2937. 00001EBE  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  2938. 00001EC2  486F 0006                pea.l      [A7 + 0x6]
  2939. 00001EC6  1F3C 0001                move.b     -[A7], 0x1
  2940. 00001ECA  303C 0192                move.w     D0, 0x192
  2941. 00001ECE  AAAA                     syscall    QuickTimeDispatch
  2942. 00001ED0  301F                     move.w     D0, [A7]+
  2943. 00001ED2  3600                     move.w     D3, D0
  2944. 00001ED4  6708                     beq        +0xA /* 00001EDE */
  2945. 00001ED6  3003                     move.w     D0, D3
  2946. 00001ED8  544F                     addq.w     A7, 2
  2947. 00001EDA  261F                     move.l     D3, [A7]+
  2948. 00001EDC  4E75                     rts
  2949. label00001EDE:
  2950. 00001EDE  554F                     subq.w     A7, 2
  2951. 00001EE0  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  2952. 00001EE4  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  2953. 00001EE8  42A7                     clr.l      -[A7]
  2954. 00001EEA  42A7                     clr.l      -[A7]
  2955. 00001EEC  3F3C 0001                move.w     -[A7], 0x1
  2956. 00001EF0  42A7                     clr.l      -[A7]
  2957. 00001EF2  303C 00F0                move.w     D0, 0xF0
  2958. 00001EF6  AAAA                     syscall    QuickTimeDispatch
  2959. 00001EF8  301F                     move.w     D0, [A7]+
  2960. 00001EFA  3600                     move.w     D3, D0
  2961. 00001EFC  554F                     subq.w     A7, 2
  2962. 00001EFE  3F2F 0002                move.w     -[A7], [A7 + 0x2]
  2963. 00001F02  303C 00D5                move.w     D0, 0xD5
  2964. 00001F06  AAAA                     syscall    QuickTimeDispatch
  2965. 00001F08  301F                     move.w     D0, [A7]+
  2966. 00001F0A  3003                     move.w     D0, D3
  2967. 00001F0C  544F                     addq.w     A7, 2
  2968. 00001F0E  261F                     move.l     D3, [A7]+
  2969. 00001F10  4E75                     rts
  2970. fn00001F12:
  2971. 00001F12  48E7 0038                movem.l    -[A7], A2,A3,A4
  2972. 00001F16  266F 0010                movea.l    A3, [A7 + 0x10]
  2973. 00001F1A  286F 0014                movea.l    A4, [A7 + 0x14]
  2974. 00001F1E  246F 0018                movea.l    A2, [A7 + 0x18]
  2975. 00001F22  28AB 0070                move.l     [A4], [A3 + 0x70]
  2976. 00001F26  296B 0074 0004           move.l     [A4 + 0x4], [A3 + 0x74]
  2977. 00001F2C  4AAB 0014                tst.l      [A3 + 0x14]
  2978. 00001F30  673A                     beq        +0x3C /* 00001F6C */
  2979. 00001F32  356B 0072 0002           move.w     [A2 + 0x2], [A3 + 0x72]
  2980. 00001F38  356B 0076 0006           move.w     [A2 + 0x6], [A3 + 0x76]
  2981. 00001F3E  302B 0020                move.w     D0, [A3 + 0x20]
  2982. 00001F42  7208                     moveq.l    D1, 0x08
  2983. 00001F44  C081                     and.l      D0, D1
  2984. 00001F46  6710                     beq        +0x12 /* 00001F58 */
  2985. 00001F48  302B 0022                move.w     D0, [A3 + 0x22]
  2986. 00001F4C  D154                     add.w      [A4], D0
  2987. 00001F4E  34AB 0070                move.w     [A2], [A3 + 0x70]
  2988. 00001F52  3554 0004                move.w     [A2 + 0x4], [A4]
  2989. 00001F56  6022                     bra        +0x24 /* 00001F7A */
  2990. label00001F58:
  2991. 00001F58  302B 0022                move.w     D0, [A3 + 0x22]
  2992. 00001F5C  916C 0004                sub.w      [A4 + 0x4], D0
  2993. 00001F60  34AC 0004                move.w     [A2], [A4 + 0x4]
  2994. 00001F64  356B 0074 0004           move.w     [A2 + 0x4], [A3 + 0x74]
  2995. 00001F6A  600E                     bra        +0x10 /* 00001F7A */
  2996. label00001F6C:
  2997. 00001F6C  426A 0004                clr.w      [A2 + 0x4]
  2998. 00001F70  426A 0006                clr.w      [A2 + 0x6]
  2999. 00001F74  4252                     clr.w      [A2]
  3000. 00001F76  426A 0002                clr.w      [A2 + 0x2]
  3001. label00001F7A:
  3002. 00001F7A  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  3003. 00001F7E  4E75                     rts
  3004. fn00001F80:
  3005. 00001F80  48E7 1030                movem.l    -[A7], D3,A2,A3
  3006. 00001F84  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  3007. 00001F88  246F 0024                movea.l    A2, [A7 + 0x24]
  3008. 00001F8C  42A7                     clr.l      -[A7]
  3009. 00001F8E  42A7                     clr.l      -[A7]
  3010. 00001F90  42A7                     clr.l      -[A7]
  3011. 00001F92  486F 000C                pea.l      [A7 + 0xC]
  3012. 00001F96  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  3013. 00001F9A  3F2A 00E4                move.w     -[A7], [A2 + 0xE4]
  3014. 00001F9E  4EAD DC70                jsr        [A5 - 0x2390]
  3015. 00001FA2  3600                     move.w     D3, D0
  3016. 00001FA4  4A43                     tst.w      D3
  3017. 00001FA6  4FEF 0016                lea.l      A7, [A7 + 0x16]
  3018. 00001FAA  6600 00AE                bne        +0xB0 /* 0000205A */
  3019. 00001FAE  486F 0004                pea.l      [A7 + 0x4]
  3020. 00001FB2  486F 0010                pea.l      [A7 + 0x10]
  3021. 00001FB6  2F0A                     move.l     -[A7], A2
  3022. 00001FB8  4EBA FF58                jsr        [PC - 0xA8 /* 00001F12 */]
  3023. 00001FBC  4AAA 0014                tst.l      [A2 + 0x14]
  3024. 00001FC0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3025. 00001FC4  6700 0082                beq        +0x84 /* 00002048 */
  3026. 00001FC8  302A 0020                move.w     D0, [A2 + 0x20]
  3027. 00001FCC  7202                     moveq.l    D1, 0x02
  3028. 00001FCE  C081                     and.l      D0, D1
  3029. 00001FD0  6704                     beq        +0x6 /* 00001FD6 */
  3030. 00001FD2  76FF                     moveq.l    D3, 0xFFFFFFFF
  3031. 00001FD4  6010                     bra        +0x12 /* 00001FE6 */
  3032. label00001FD6:
  3033. 00001FD6  302A 0020                move.w     D0, [A2 + 0x20]
  3034. 00001FDA  7204                     moveq.l    D1, 0x04
  3035. 00001FDC  C081                     and.l      D0, D1
  3036. 00001FDE  6704                     beq        +0x6 /* 00001FE4 */
  3037. 00001FE0  7601                     moveq.l    D3, 0x01
  3038. 00001FE2  6002                     bra        +0x4 /* 00001FE6 */
  3039. label00001FE4:
  3040. 00001FE4  7600                     moveq.l    D3, 0x00
  3041. label00001FE6:
  3042. 00001FE6  4EAD DD70                jsr        [A5 - 0x2290]
  3043. 00001FEA  4EAD DD60                jsr        [A5 - 0x22A0]
  3044. 00001FEE  3F3C 0001                move.w     -[A7], 0x1
  3045. 00001FF2  A887                     syscall    TextFont
  3046. 00001FF4  3F3C 000C                move.w     -[A7], 0xC
  3047. 00001FF8  A88A                     syscall    TextSize
  3048. 00001FFA  4267                     clr.w      -[A7]
  3049. 00001FFC  A888                     syscall    TextFace
  3050. 00001FFE  7000                     moveq.l    D0, 0x00
  3051. 00002000  102D 81A0                move.b     D0, [A5 - 0x7E60]
  3052. 00002004  7202                     moveq.l    D1, 0x02
  3053. 00002006  B081                     cmp.l      D0, D1
  3054. 00002008  6D0C                     blt        +0xE /* 00002016 */
  3055. 0000200A  486A 0008                pea.l      [A2 + 0x8]
  3056. 0000200E  AA14                     syscall    RGBForeColor
  3057. 00002010  486A 000E                pea.l      [A2 + 0xE]
  3058. 00002014  AA15                     syscall    RGBBackColor
  3059. label00002016:
  3060. 00002016  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  3061. 0000201A  4EAD DD80                jsr        [A5 - 0x2280]
  3062. 0000201E  2648                     movea.l    A3, A0
  3063. 00002020  2F0B                     move.l     -[A7], A3
  3064. 00002022  204B                     movea.l    A0, A3
  3065. 00002024  70FF                     moveq.l    D0, 0xFFFFFFFF
  3066. label00002026:
  3067. 00002026  5280                     addq.l     D0, 1
  3068. 00002028  4A18                     tst.b      [A0]+
  3069. 0000202A  66FA                     bne        -0x4 /* 00002026 */
  3070. 0000202C  2F00                     move.l     -[A7], D0
  3071. 0000202E  486F 0010                pea.l      [A7 + 0x10]
  3072. 00002032  3F03                     move.w     -[A7], D3
  3073. 00002034  A9CE                     syscall    TETextBox/TextBox
  3074. 00002036  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  3075. 0000203A  4EAD DD88                jsr        [A5 - 0x2278]
  3076. 0000203E  4EAD DD68                jsr        [A5 - 0x2298]
  3077. 00002042  4EAD DD78                jsr        [A5 - 0x2288]
  3078. 00002046  504F                     addq.w     A7, 8
  3079. label00002048:
  3080. 00002048  42A7                     clr.l      -[A7]
  3081. 0000204A  486F 0010                pea.l      [A7 + 0x10]
  3082. 0000204E  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3083. 00002052  4EBA 0042                jsr        [PC + 0x42 /* 00002096 */]
  3084. 00002056  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3085. label0000205A:
  3086. 0000205A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3087. 0000205E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3088. 00002062  4E75                     rts
  3089. fn00002064:
  3090. 00002064  594F                     subq.w     A7, 4
  3091. 00002066  594F                     subq.w     A7, 4
  3092. 00002068  206F 000C                movea.l    A0, [A7 + 0xC]
  3093. 0000206C  3F28 0008                move.w     -[A7], [A0 + 0x8]
  3094. 00002070  A9BC                     syscall    GetPicture
  3095. 00002072  205F                     movea.l    A0, [A7]+
  3096. 00002074  2E88                     move.l     [A7], A0
  3097. 00002076  2008                     move.l     D0, A0
  3098. 00002078  6718                     beq        +0x1A /* 00002092 */
  3099. 0000207A  4878 0001                push.l     0x1
  3100. 0000207E  206F 000C                movea.l    A0, [A7 + 0xC]
  3101. 00002082  4868 0070                pea.l      [A0 + 0x70]
  3102. 00002086  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  3103. 0000208A  4EBA 000A                jsr        [PC + 0xA /* 00002096 */]
  3104. 0000208E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3105. label00002092:
  3106. 00002092  584F                     addq.w     A7, 4
  3107. 00002094  4E75                     rts
  3108. fn00002096:
  3109. 00002096  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  3110. 0000209A  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  3111. 0000209E  266F 0028                movea.l    A3, [A7 + 0x28]
  3112. 000020A2  246F 002C                movea.l    A2, [A7 + 0x2C]
  3113. 000020A6  204B                     movea.l    A0, A3
  3114. 000020A8  A04A                     syscall    HNoPurge
  3115. 000020AA  2053                     movea.l    A0, [A3]
  3116. 000020AC  2F68 0002 0004           move.l     [A7 + 0x4], [A0 + 0x2]
  3117. 000020B2  2F68 0006 0008           move.l     [A7 + 0x8], [A0 + 0x6]
  3118. 000020B8  302A 0002                move.w     D0, [A2 + 0x2]
  3119. 000020BC  48C0                     ext.l      D0
  3120. 000020BE  382A 0006                move.w     D4, [A2 + 0x6]
  3121. 000020C2  48C4                     ext.l      D4
  3122. 000020C4  9880                     sub.l      D4, D0
  3123. 000020C6  362F 0006                move.w     D3, [A7 + 0x6]
  3124. 000020CA  48C3                     ext.l      D3
  3125. 000020CC  3A2F 000A                move.w     D5, [A7 + 0xA]
  3126. 000020D0  48C5                     ext.l      D5
  3127. 000020D2  9A83                     sub.l      D5, D3
  3128. 000020D4  3C05                     move.w     D6, D5
  3129. 000020D6  48C6                     ext.l      D6
  3130. 000020D8  2206                     move.l     D1, D6
  3131. 000020DA  E089                     lsr        D1, 8
  3132. 000020DC  E089                     lsr        D1, 8
  3133. 000020DE  E089                     lsr        D1, 8
  3134. 000020E0  EE89                     lsr        D1, 7
  3135. 000020E2  D286                     add.l      D1, D6
  3136. 000020E4  E281                     asr        D1, 1
  3137. 000020E6  3C2A 0002                move.w     D6, [A2 + 0x2]
  3138. 000020EA  48C6                     ext.l      D6
  3139. 000020EC  3404                     move.w     D2, D4
  3140. 000020EE  48C2                     ext.l      D2
  3141. 000020F0  2E86                     move.l     [A7], D6
  3142. 000020F2  2C02                     move.l     D6, D2
  3143. 000020F4  E08E                     lsr        D6, 8
  3144. 000020F6  E08E                     lsr        D6, 8
  3145. 000020F8  E08E                     lsr        D6, 8
  3146. 000020FA  EE8E                     lsr        D6, 7
  3147. 000020FC  DC82                     add.l      D6, D2
  3148. 000020FE  E286                     asr        D6, 1
  3149. 00002100  DC97                     add.l      D6, [A7]
  3150. 00002102  9C81                     sub.l      D6, D1
  3151. 00002104  486F 0004                pea.l      [A7 + 0x4]
  3152. 00002108  3006                     move.w     D0, D6
  3153. 0000210A  48C0                     ext.l      D0
  3154. 0000210C  9083                     sub.l      D0, D3
  3155. 0000210E  3F00                     move.w     -[A7], D0
  3156. 00002110  302F 000A                move.w     D0, [A7 + 0xA]
  3157. 00002114  48C0                     ext.l      D0
  3158. 00002116  3212                     move.w     D1, [A2]
  3159. 00002118  48C1                     ext.l      D1
  3160. 0000211A  9280                     sub.l      D1, D0
  3161. 0000211C  3F01                     move.w     -[A7], D1
  3162. 0000211E  A8A8                     syscall    OffsetRect
  3163. 00002120  4AAF 0030                tst.l      [A7 + 0x30]
  3164. 00002124  6706                     beq        +0x8 /* 0000212C */
  3165. 00002126  486F 0004                pea.l      [A7 + 0x4]
  3166. 0000212A  A8A3                     syscall    EraseRect
  3167. label0000212C:
  3168. 0000212C  2F0B                     move.l     -[A7], A3
  3169. 0000212E  486F 0008                pea.l      [A7 + 0x8]
  3170. 00002132  A8F6                     syscall    DrawPicture
  3171. 00002134  204B                     movea.l    A0, A3
  3172. 00002136  A049                     syscall    HPurge
  3173. 00002138  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3174. 0000213C  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  3175. 00002140  4E75                     rts
  3176. fn00002142:
  3177. 00002142  48E7 0030                movem.l    -[A7], A2,A3
  3178. 00002146  246F 000C                movea.l    A2, [A7 + 0xC]
  3179. 0000214A  594F                     subq.w     A7, 4
  3180. 0000214C  356F 0014 0008           move.w     [A2 + 0x8], [A7 + 0x14]
  3181. 00002152  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  3182. 00002156  A9BC                     syscall    GetPicture
  3183. 00002158  205F                     movea.l    A0, [A7]+
  3184. 0000215A  2648                     movea.l    A3, A0
  3185. 0000215C  200B                     move.l     D0, A3
  3186. 0000215E  671A                     beq        +0x1C /* 0000217A */
  3187. 00002160  2053                     movea.l    A0, [A3]
  3188. 00002162  2568 0002 0078           move.l     [A2 + 0x78], [A0 + 0x2]
  3189. 00002168  2568 0006 007C           move.l     [A2 + 0x7C], [A0 + 0x6]
  3190. 0000216E  2568 0002 0070           move.l     [A2 + 0x70], [A0 + 0x2]
  3191. 00002174  2568 0006 0074           move.l     [A2 + 0x74], [A0 + 0x6]
  3192. label0000217A:
  3193. 0000217A  002A 0020 00F2           ori.b      [A2 + 0xF2], 0x20 /* ' ' */
  3194. 00002180  4CDF 0C00                movem.l    A2,A3, [A7]+
  3195. 00002184  4E75                     rts
  3196. fn00002186:
  3197. 00002186  48E7 0038                movem.l    -[A7], A2,A3,A4
  3198. 0000218A  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  3199. 0000218E  286F 0020                movea.l    A4, [A7 + 0x20]
  3200. 00002192  266F 0024                movea.l    A3, [A7 + 0x24]
  3201. 00002196  2454                     movea.l    A2, [A4]
  3202. 00002198  356B 0002 0012           move.w     [A2 + 0x12], [A3 + 0x2]
  3203. 0000219E  356B 0006 0016           move.w     [A2 + 0x16], [A3 + 0x6]
  3204. 000021A4  302A 002C                move.w     D0, [A2 + 0x2C]
  3205. 000021A8  48C0                     ext.l      D0
  3206. 000021AA  322B 0004                move.w     D1, [A3 + 0x4]
  3207. 000021AE  48C1                     ext.l      D1
  3208. 000021B0  9280                     sub.l      D1, D0
  3209. 000021B2  3541 0010                move.w     [A2 + 0x10], D1
  3210. 000021B6  356B 0004 0014           move.w     [A2 + 0x14], [A3 + 0x4]
  3211. 000021BC  082A 0006 0028           btst.b     [A2 + 0x28], 0x6
  3212. 000021C2  672C                     beq        +0x2E /* 000021F0 */
  3213. 000021C4  356A 0012 001A           move.w     [A2 + 0x1A], [A2 + 0x12]
  3214. 000021CA  356A 0010 0018           move.w     [A2 + 0x18], [A2 + 0x10]
  3215. 000021D0  302A 001A                move.w     D0, [A2 + 0x1A]
  3216. 000021D4  48C0                     ext.l      D0
  3217. 000021D6  7210                     moveq.l    D1, 0x10
  3218. 000021D8  D081                     add.l      D0, D1
  3219. 000021DA  3540 001E                move.w     [A2 + 0x1E], D0
  3220. 000021DE  302A 0018                move.w     D0, [A2 + 0x18]
  3221. 000021E2  48C0                     ext.l      D0
  3222. 000021E4  D081                     add.l      D0, D1
  3223. 000021E6  3540 001C                move.w     [A2 + 0x1C], D0
  3224. 000021EA  066A 000F 0012           addi.w     [A2 + 0x12], 0xF
  3225. label000021F0:
  3226. 000021F0  2EAA 0010                move.l     [A7], [A2 + 0x10]
  3227. 000021F4  2F6A 0014 0004           move.l     [A7 + 0x4], [A2 + 0x14]
  3228. 000021FA  2F53 0008                move.l     [A7 + 0x8], [A3]
  3229. 000021FE  2F6B 0004 000C           move.l     [A7 + 0xC], [A3 + 0x4]
  3230. 00002204  3F57 000C                move.w     [A7 + 0xC], [A7]
  3231. 00002208  4AAA 00C6                tst.l      [A2 + 0xC6]
  3232. 0000220C  6708                     beq        +0xA /* 00002216 */
  3233. 0000220E  302A 00CA                move.w     D0, [A2 + 0xCA]
  3234. 00002212  916F 000C                sub.w      [A7 + 0xC], D0
  3235. label00002216:
  3236. 00002216  594F                     subq.w     A7, 4
  3237. 00002218  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3238. 0000221C  486F 0010                pea.l      [A7 + 0x10]
  3239. 00002220  486F 000C                pea.l      [A7 + 0xC]
  3240. 00002224  4878 0020                push.l     0x20 /* ' ' */
  3241. 00002228  2F3C 000C 0024           move.l     -[A7], 0xC0024
  3242. 0000222E  7000                     moveq.l    D0, 0x00
  3243. 00002230  A82A                     syscall    ComponentDispatch
  3244. 00002232  201F                     move.l     D0, [A7]+
  3245. 00002234  2054                     movea.l    A0, [A4]
  3246. 00002236  2F28 0020                move.l     -[A7], [A0 + 0x20]
  3247. 0000223A  486F 000C                pea.l      [A7 + 0xC]
  3248. 0000223E  303C 00F9                move.w     D0, 0xF9
  3249. 00002242  AAAA                     syscall    QuickTimeDispatch
  3250. 00002244  2054                     movea.l    A0, [A4]
  3251. 00002246  216F 0008 0008           move.l     [A0 + 0x8], [A7 + 0x8]
  3252. 0000224C  216F 000C 000C           move.l     [A0 + 0xC], [A7 + 0xC]
  3253. 00002252  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3254. 00002256  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  3255. 0000225A  4E75                     rts
  3256. fn0000225C:
  3257. 0000225C  48E7 0030                movem.l    -[A7], A2,A3
  3258. 00002260  266F 000C                movea.l    A3, [A7 + 0xC]
  3259. 00002264  246F 0010                movea.l    A2, [A7 + 0x10]
  3260. 00002268  356B 0072 0002           move.w     [A2 + 0x2], [A3 + 0x72]
  3261. 0000226E  356B 0076 0006           move.w     [A2 + 0x6], [A3 + 0x76]
  3262. 00002274  302B 00D0                move.w     D0, [A3 + 0xD0]
  3263. 00002278  48C0                     ext.l      D0
  3264. 0000227A  322B 0074                move.w     D1, [A3 + 0x74]
  3265. 0000227E  48C1                     ext.l      D1
  3266. 00002280  9280                     sub.l      D1, D0
  3267. 00002282  302B 00CA                move.w     D0, [A3 + 0xCA]
  3268. 00002286  48C0                     ext.l      D0
  3269. 00002288  9280                     sub.l      D1, D0
  3270. 0000228A  3481                     move.w     [A2], D1
  3271. 0000228C  302B 00CA                move.w     D0, [A3 + 0xCA]
  3272. 00002290  48C0                     ext.l      D0
  3273. 00002292  3212                     move.w     D1, [A2]
  3274. 00002294  48C1                     ext.l      D1
  3275. 00002296  D280                     add.l      D1, D0
  3276. 00002298  3541 0004                move.w     [A2 + 0x4], D1
  3277. 0000229C  082B 0007 00D2           btst.b     [A3 + 0xD2], 0x7
  3278. 000022A2  670C                     beq        +0xE /* 000022B0 */
  3279. 000022A4  2F0A                     move.l     -[A7], A2
  3280. 000022A6  2F3C 0001 0000           move.l     -[A7], 0x10000
  3281. 000022AC  A8A8                     syscall    OffsetRect
  3282. 000022AE  6002                     bra        +0x4 /* 000022B2 */
  3283. label000022B0:
  3284. 000022B0  5252                     addq.w     [A2], 1
  3285. label000022B2:
  3286. 000022B2  4CDF 0C00                movem.l    A2,A3, [A7]+
  3287. 000022B6  4E75                     rts
  3288. fn000022B8:
  3289. 000022B8  226F 0004                movea.l    A1, [A7 + 0x4]
  3290. 000022BC  4A11                     tst.b      [A1]
  3291. 000022BE  6604                     bne        +0x6 /* 000022C4 */
  3292. 000022C0  91C8                     sub.l      A0, A0
  3293. 000022C2  4E75                     rts
  3294. label000022C4:
  3295. 000022C4  206F 0008                movea.l    A0, [A7 + 0x8]
  3296. 000022C8  B3D0                     cmpa.l     A1, [A0]
  3297. 000022CA  6708                     beq        +0xA /* 000022D4 */
  3298. 000022CC  5289                     addq.l     A1, 1
  3299. 000022CE  2089                     move.l     [A0], A1
  3300. 000022D0  6002                     bra        +0x4 /* 000022D4 */
  3301. label000022D2:
  3302. 000022D2  5289                     addq.l     A1, 1
  3303. label000022D4:
  3304. 000022D4  4A11                     tst.b      [A1]
  3305. 000022D6  6706                     beq        +0x8 /* 000022DE */
  3306. 000022D8  0C11 000D                cmpi.b     [A1], 0xD /* '\r' */
  3307. 000022DC  66F4                     bne        -0xA /* 000022D2 */
  3308. label000022DE:
  3309. 000022DE  2049                     movea.l    A0, A1
  3310. 000022E0  4E75                     rts
  3311. fn000022E2:
  3312. 000022E2  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  3313. 000022E6  4FEF FFE6                lea.l      A7, [A7 - 0x1A]
  3314. 000022EA  282F 0036                move.l     D4, [A7 + 0x36]
  3315. 000022EE  2EAD B4DC                move.l     [A7], [A5 - 0x4B24]
  3316. 000022F2  2F6D B4E0 0004           move.l     [A7 + 0x4], [A5 - 0x4B20]
  3317. 000022F8  3F6D B4E4 0008           move.w     [A7 + 0x8], [A5 - 0x4B1C]
  3318. 000022FE  2044                     movea.l    A0, D4
  3319. 00002300  2050                     movea.l    A0, [A0]
  3320. 00002302  2C68 00C6                movea.l    A6, [A0 + 0xC6]
  3321. 00002306  2F0E                     move.l     -[A7], A6
  3322. 00002308  4EAD DD80                jsr        [A5 - 0x2280]
  3323. 0000230C  2848                     movea.l    A4, A0
  3324. 0000230E  2F04                     move.l     -[A7], D4
  3325. 00002310  4EAD DD80                jsr        [A5 - 0x2280]
  3326. 00002314  2648                     movea.l    A3, A0
  3327. 00002316  486F 001A                pea.l      [A7 + 0x1A]
  3328. 0000231A  2F0B                     move.l     -[A7], A3
  3329. 0000231C  4EBA FF3E                jsr        [PC - 0xC2 /* 0000225C */]
  3330. 00002320  4EAD DD60                jsr        [A5 - 0x22A0]
  3331. 00002324  3F3C 0001                move.w     -[A7], 0x1
  3332. 00002328  A887                     syscall    TextFont
  3333. 0000232A  3F3C 000C                move.w     -[A7], 0xC
  3334. 0000232E  A88A                     syscall    TextSize
  3335. 00002330  4267                     clr.w      -[A7]
  3336. 00002332  A888                     syscall    TextFace
  3337. 00002334  4EAD DD70                jsr        [A5 - 0x2290]
  3338. 00002338  486F 001A                pea.l      [A7 + 0x1A]
  3339. 0000233C  A874                     syscall    GetPort
  3340. 0000233E  206F 001A                movea.l    A0, [A7 + 0x1A]
  3341. 00002342  2F28 0018                move.l     -[A7], [A0 + 0x18]
  3342. 00002346  486D E438                pea.l      [A5 - 0x1BC8]
  3343. 0000234A  486F 002A                pea.l      [A7 + 0x2A]
  3344. 0000234E  42A7                     clr.l      -[A7]
  3345. 00002350  4EAD DE28                jsr        [A5 - 0x21D8]
  3346. 00002354  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  3347. 00002358  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  3348. 0000235C  A893                     syscall    MoveTo
  3349. 0000235E  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  3350. 00002362  302F 0028                move.w     D0, [A7 + 0x28]
  3351. 00002366  48C0                     ext.l      D0
  3352. 00002368  5380                     subq.l     D0, 1
  3353. 0000236A  3F00                     move.w     -[A7], D0
  3354. 0000236C  A891                     syscall    LineTo
  3355. 0000236E  302F 0028                move.w     D0, [A7 + 0x28]
  3356. 00002372  48C0                     ext.l      D0
  3357. 00002374  5380                     subq.l     D0, 1
  3358. 00002376  3F00                     move.w     -[A7], D0
  3359. 00002378  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  3360. 0000237C  A893                     syscall    MoveTo
  3361. 0000237E  302F 0028                move.w     D0, [A7 + 0x28]
  3362. 00002382  48C0                     ext.l      D0
  3363. 00002384  5380                     subq.l     D0, 1
  3364. 00002386  3F00                     move.w     -[A7], D0
  3365. 00002388  302F 0028                move.w     D0, [A7 + 0x28]
  3366. 0000238C  48C0                     ext.l      D0
  3367. 0000238E  5380                     subq.l     D0, 1
  3368. 00002390  3F00                     move.w     -[A7], D0
  3369. 00002392  A891                     syscall    LineTo
  3370. 00002394  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  3371. 00002398  3F2F 0028                move.w     -[A7], [A7 + 0x28]
  3372. 0000239C  A893                     syscall    MoveTo
  3373. 0000239E  302F 0028                move.w     D0, [A7 + 0x28]
  3374. 000023A2  48C0                     ext.l      D0
  3375. 000023A4  5380                     subq.l     D0, 1
  3376. 000023A6  3F00                     move.w     -[A7], D0
  3377. 000023A8  3F2F 0028                move.w     -[A7], [A7 + 0x28]
  3378. 000023AC  A891                     syscall    LineTo
  3379. 000023AE  082B 0007 00D2           btst.b     [A3 + 0xD2], 0x7
  3380. 000023B4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3381. 000023B8  6608                     bne        +0xA /* 000023C2 */
  3382. 000023BA  302F 0012                move.w     D0, [A7 + 0x12]
  3383. 000023BE  48C0                     ext.l      D0
  3384. 000023C0  6008                     bra        +0xA /* 000023CA */
  3385. label000023C2:
  3386. 000023C2  302F 0012                move.w     D0, [A7 + 0x12]
  3387. 000023C6  48C0                     ext.l      D0
  3388. 000023C8  5380                     subq.l     D0, 1
  3389. label000023CA:
  3390. 000023CA  3600                     move.w     D3, D0
  3391. 000023CC  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  3392. 000023D0  3F03                     move.w     -[A7], D3
  3393. 000023D2  A893                     syscall    MoveTo
  3394. 000023D4  302F 0018                move.w     D0, [A7 + 0x18]
  3395. 000023D8  48C0                     ext.l      D0
  3396. 000023DA  5380                     subq.l     D0, 1
  3397. 000023DC  3F00                     move.w     -[A7], D0
  3398. 000023DE  3F03                     move.w     -[A7], D3
  3399. 000023E0  A891                     syscall    LineTo
  3400. 000023E2  204C                     movea.l    A0, A4
  3401. 000023E4  5488                     addq.l     A0, 2
  3402. 000023E6  2448                     movea.l    A2, A0
  3403. 000023E8  2F48 000E                move.l     [A7 + 0xE], A0
  3404. 000023EC  302B 00CC                move.w     D0, [A3 + 0xCC]
  3405. 000023F0  48C0                     ext.l      D0
  3406. 000023F2  362F 0012                move.w     D3, [A7 + 0x12]
  3407. 000023F6  48C3                     ext.l      D3
  3408. 000023F8  D680                     add.l      D3, D0
  3409. 000023FA  5883                     addq.l     D3, 4
  3410. 000023FC  6020                     bra        +0x22 /* 0000241E */
  3411. label000023FE:
  3412. 000023FE  3F14                     move.w     -[A7], [A4]
  3413. 00002400  3F03                     move.w     -[A7], D3
  3414. 00002402  486F 0016                pea.l      [A7 + 0x16]
  3415. 00002406  204A                     movea.l    A0, A2
  3416. 00002408  91EF 0016                sub.l      A0, [A7 + 0x16]
  3417. 0000240C  2F08                     move.l     -[A7], A0
  3418. 0000240E  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  3419. 00002412  4EBA 003A                jsr        [PC + 0x3A /* 0000244E */]
  3420. 00002416  D66B 00CE                add.w      D3, [A3 + 0xCE]
  3421. 0000241A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3422. label0000241E:
  3423. 0000241E  486F 000E                pea.l      [A7 + 0xE]
  3424. 00002422  2F0A                     move.l     -[A7], A2
  3425. 00002424  4EBA FE92                jsr        [PC - 0x16E /* 000022B8 */]
  3426. 00002428  2448                     movea.l    A2, A0
  3427. 0000242A  2008                     move.l     D0, A0
  3428. 0000242C  504F                     addq.w     A7, 8
  3429. 0000242E  66CE                     bne        -0x30 /* 000023FE */
  3430. 00002430  4EAD DD78                jsr        [A5 - 0x2288]
  3431. 00002434  4EAD DD68                jsr        [A5 - 0x2298]
  3432. 00002438  2F04                     move.l     -[A7], D4
  3433. 0000243A  4EAD DD88                jsr        [A5 - 0x2278]
  3434. 0000243E  2F0E                     move.l     -[A7], A6
  3435. 00002440  4EAD DD88                jsr        [A5 - 0x2278]
  3436. 00002444  4FEF 0022                lea.l      A7, [A7 + 0x22]
  3437. 00002448  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  3438. 0000244C  4E75                     rts
  3439. fn0000244E:
  3440. 0000244E  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  3441. 00002452  594F                     subq.w     A7, 4
  3442. 00002454  266F 001C                movea.l    A3, [A7 + 0x1C]
  3443. 00002458  2A2F 0020                move.l     D5, [A7 + 0x20]
  3444. 0000245C  246F 0024                movea.l    A2, [A7 + 0x24]
  3445. 00002460  362F 002A                move.w     D3, [A7 + 0x2A]
  3446. 00002464  4A43                     tst.w      D3
  3447. 00002466  660A                     bne        +0xC /* 00002472 */
  3448. 00002468  362A 0002                move.w     D3, [A2 + 0x2]
  3449. 0000246C  48C3                     ext.l      D3
  3450. 0000246E  5C83                     addq.l     D3, 6
  3451. 00002470  605E                     bra        +0x60 /* 000024D0 */
  3452. label00002472:
  3453. 00002472  554F                     subq.w     A7, 2
  3454. 00002474  2F0B                     move.l     -[A7], A3
  3455. 00002476  4267                     clr.w      -[A7]
  3456. 00002478  3F05                     move.w     -[A7], D5
  3457. 0000247A  A886                     syscall    TextWidth
  3458. 0000247C  301F                     move.w     D0, [A7]+
  3459. 0000247E  3800                     move.w     D4, D0
  3460. 00002480  0C43 FFFF                cmpi.w     D3, 0xFFFF
  3461. 00002484  6610                     bne        +0x12 /* 00002496 */
  3462. 00002486  3004                     move.w     D0, D4
  3463. 00002488  48C0                     ext.l      D0
  3464. 0000248A  362A 0006                move.w     D3, [A2 + 0x6]
  3465. 0000248E  48C3                     ext.l      D3
  3466. 00002490  9680                     sub.l      D3, D0
  3467. 00002492  5D83                     subq.l     D3, 6
  3468. 00002494  603A                     bra        +0x3C /* 000024D0 */
  3469. label00002496:
  3470. 00002496  3004                     move.w     D0, D4
  3471. 00002498  48C0                     ext.l      D0
  3472. 0000249A  2200                     move.l     D1, D0
  3473. 0000249C  E089                     lsr        D1, 8
  3474. 0000249E  E089                     lsr        D1, 8
  3475. 000024A0  E089                     lsr        D1, 8
  3476. 000024A2  EE89                     lsr        D1, 7
  3477. 000024A4  D280                     add.l      D1, D0
  3478. 000024A6  E281                     asr        D1, 1
  3479. 000024A8  302A 0002                move.w     D0, [A2 + 0x2]
  3480. 000024AC  48C0                     ext.l      D0
  3481. 000024AE  362A 0002                move.w     D3, [A2 + 0x2]
  3482. 000024B2  48C3                     ext.l      D3
  3483. 000024B4  2E80                     move.l     [A7], D0
  3484. 000024B6  302A 0006                move.w     D0, [A2 + 0x6]
  3485. 000024BA  48C0                     ext.l      D0
  3486. 000024BC  9083                     sub.l      D0, D3
  3487. 000024BE  2600                     move.l     D3, D0
  3488. 000024C0  E08B                     lsr        D3, 8
  3489. 000024C2  E08B                     lsr        D3, 8
  3490. 000024C4  E08B                     lsr        D3, 8
  3491. 000024C6  EE8B                     lsr        D3, 7
  3492. 000024C8  D680                     add.l      D3, D0
  3493. 000024CA  E283                     asr        D3, 1
  3494. 000024CC  D697                     add.l      D3, [A7]
  3495. 000024CE  9681                     sub.l      D3, D1
  3496. label000024D0:
  3497. 000024D0  3F03                     move.w     -[A7], D3
  3498. 000024D2  3F2F 002A                move.w     -[A7], [A7 + 0x2A]
  3499. 000024D6  A893                     syscall    MoveTo
  3500. 000024D8  2F0B                     move.l     -[A7], A3
  3501. 000024DA  4267                     clr.w      -[A7]
  3502. 000024DC  3F05                     move.w     -[A7], D5
  3503. 000024DE  A885                     syscall    DrawText
  3504. 000024E0  584F                     addq.w     A7, 4
  3505. 000024E2  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3506. 000024E6  4E75                     rts
  3507. 000024E8  2F0A                     move.l     -[A7], A2
  3508. 000024EA  5D4F                     subq.w     A7, 6
  3509. 000024EC  246F 000E                movea.l    A2, [A7 + 0xE]
  3510. 000024F0  302F 0018                move.w     D0, [A7 + 0x18]
  3511. 000024F4  48C0                     ext.l      D0
  3512. 000024F6  7202                     moveq.l    D1, 0x02
  3513. 000024F8  B081                     cmp.l      D0, D1
  3514. 000024FA  6F16                     ble        +0x18 /* 00002512 */
  3515. 000024FC  3F7C CCCC 0004           move.w     [A7 + 0x4], 0xCCCC
  3516. 00002502  3F7C CCCC 0002           move.w     [A7 + 0x2], 0xCCCC
  3517. 00002508  3EBC CCCC                move.w     [A7], 0xCCCC
  3518. 0000250C  4857                     pea.l      [A7]
  3519. 0000250E  AA15                     syscall    RGBBackColor
  3520. 00002510  6006                     bra        +0x8 /* 00002518 */
  3521. label00002512:
  3522. 00002512  4878 001E                push.l     0x1E
  3523. 00002516  A863                     syscall    BackColor
  3524. label00002518:
  3525. 00002518  4878 0021                push.l     0x21 /* '!' */
  3526. 0000251C  A862                     syscall    ForeColor
  3527. 0000251E  2F0A                     move.l     -[A7], A2
  3528. 00002520  A8A3                     syscall    EraseRect
  3529. 00002522  302F 0018                move.w     D0, [A7 + 0x18]
  3530. 00002526  48C0                     ext.l      D0
  3531. 00002528  7202                     moveq.l    D1, 0x02
  3532. 0000252A  B081                     cmp.l      D0, D1
  3533. 0000252C  6F00 00B4                ble        +0xB6 /* 000025E2 */
  3534. 00002530  3F7C 7777 0004           move.w     [A7 + 0x4], 0x7777 /* 'ww' */
  3535. 00002536  3F7C 7777 0002           move.w     [A7 + 0x2], 0x7777 /* 'ww' */
  3536. 0000253C  3EBC 7777                move.w     [A7], 0x7777 /* 'ww' */
  3537. 00002540  4857                     pea.l      [A7]
  3538. 00002542  AA14                     syscall    RGBForeColor
  3539. 00002544  302A 0002                move.w     D0, [A2 + 0x2]
  3540. 00002548  48C0                     ext.l      D0
  3541. 0000254A  5880                     addq.l     D0, 4
  3542. 0000254C  3F00                     move.w     -[A7], D0
  3543. 0000254E  302A 0004                move.w     D0, [A2 + 0x4]
  3544. 00002552  48C0                     ext.l      D0
  3545. 00002554  5980                     subq.l     D0, 4
  3546. 00002556  3F00                     move.w     -[A7], D0
  3547. 00002558  A893                     syscall    MoveTo
  3548. 0000255A  302A 0002                move.w     D0, [A2 + 0x2]
  3549. 0000255E  48C0                     ext.l      D0
  3550. 00002560  5880                     addq.l     D0, 4
  3551. 00002562  3F00                     move.w     -[A7], D0
  3552. 00002564  3012                     move.w     D0, [A2]
  3553. 00002566  48C0                     ext.l      D0
  3554. 00002568  5880                     addq.l     D0, 4
  3555. 0000256A  3F00                     move.w     -[A7], D0
  3556. 0000256C  A891                     syscall    LineTo
  3557. 0000256E  302A 0006                move.w     D0, [A2 + 0x6]
  3558. 00002572  48C0                     ext.l      D0
  3559. 00002574  5D80                     subq.l     D0, 6
  3560. 00002576  3F00                     move.w     -[A7], D0
  3561. 00002578  3012                     move.w     D0, [A2]
  3562. 0000257A  48C0                     ext.l      D0
  3563. 0000257C  5880                     addq.l     D0, 4
  3564. 0000257E  3F00                     move.w     -[A7], D0
  3565. 00002580  A891                     syscall    LineTo
  3566. 00002582  3F7C FFFF 0004           move.w     [A7 + 0x4], 0xFFFF
  3567. 00002588  3F7C FFFF 0002           move.w     [A7 + 0x2], 0xFFFF
  3568. 0000258E  3EBC FFFF                move.w     [A7], 0xFFFF
  3569. 00002592  4857                     pea.l      [A7]
  3570. 00002594  AA14                     syscall    RGBForeColor
  3571. 00002596  302A 0002                move.w     D0, [A2 + 0x2]
  3572. 0000259A  48C0                     ext.l      D0
  3573. 0000259C  5A80                     addq.l     D0, 5
  3574. 0000259E  3F00                     move.w     -[A7], D0
  3575. 000025A0  302A 0004                move.w     D0, [A2 + 0x4]
  3576. 000025A4  48C0                     ext.l      D0
  3577. 000025A6  5980                     subq.l     D0, 4
  3578. 000025A8  3F00                     move.w     -[A7], D0
  3579. 000025AA  A893                     syscall    MoveTo
  3580. 000025AC  302A 0006                move.w     D0, [A2 + 0x6]
  3581. 000025B0  48C0                     ext.l      D0
  3582. 000025B2  5B80                     subq.l     D0, 5
  3583. 000025B4  3F00                     move.w     -[A7], D0
  3584. 000025B6  302A 0004                move.w     D0, [A2 + 0x4]
  3585. 000025BA  48C0                     ext.l      D0
  3586. 000025BC  5980                     subq.l     D0, 4
  3587. 000025BE  3F00                     move.w     -[A7], D0
  3588. 000025C0  A891                     syscall    LineTo
  3589. 000025C2  302A 0006                move.w     D0, [A2 + 0x6]
  3590. 000025C6  48C0                     ext.l      D0
  3591. 000025C8  5B80                     subq.l     D0, 5
  3592. 000025CA  3F00                     move.w     -[A7], D0
  3593. 000025CC  3012                     move.w     D0, [A2]
  3594. 000025CE  48C0                     ext.l      D0
  3595. 000025D0  5880                     addq.l     D0, 4
  3596. 000025D2  3F00                     move.w     -[A7], D0
  3597. 000025D4  A891                     syscall    LineTo
  3598. 000025D6  4878 001E                push.l     0x1E
  3599. 000025DA  A863                     syscall    BackColor
  3600. 000025DC  4878 0021                push.l     0x21 /* '!' */
  3601. 000025E0  A862                     syscall    ForeColor
  3602. label000025E2:
  3603. 000025E2  5C4F                     addq.w     A7, 6
  3604. 000025E4  245F                     movea.l    A2, [A7]+
  3605. 000025E6  205F                     movea.l    A0, [A7]+
  3606. 000025E8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3607. 000025EC  4ED0                     jmp        [A0]
  3608. fn000025EE:
  3609. 000025EE  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  3610. 000025F2  514F                     subq.w     A7, 8
  3611. 000025F4  246F 0024                movea.l    A2, [A7 + 0x24]
  3612. 000025F8  266F 0028                movea.l    A3, [A7 + 0x28]
  3613. 000025FC  7800                     moveq.l    D4, 0x00
  3614. 000025FE  256B 0004 0008           move.l     [A2 + 0x8], [A3 + 0x4]
  3615. 00002604  356B 0008 000C           move.w     [A2 + 0xC], [A3 + 0x8]
  3616. 0000260A  256B 000A 000E           move.l     [A2 + 0xE], [A3 + 0xA]
  3617. 00002610  356B 000E 0012           move.w     [A2 + 0x12], [A3 + 0xE]
  3618. 00002616  102B 0015                move.b     D0, [A3 + 0x15]
  3619. 0000261A  4880                     ext.w      D0
  3620. 0000261C  3540 0020                move.w     [A2 + 0x20], D0
  3621. 00002620  426A 0022                clr.w      [A2 + 0x22]
  3622. 00002624  41EB 0016                lea.l      A0, [A3 + 0x16]
  3623. 00002628  70FF                     moveq.l    D0, 0xFFFFFFFF
  3624. label0000262A:
  3625. 0000262A  5280                     addq.l     D0, 1
  3626. 0000262C  4A18                     tst.b      [A0]+
  3627. 0000262E  66FA                     bne        -0x4 /* 0000262A */
  3628. 00002630  2600                     move.l     D3, D0
  3629. 00002632  554F                     subq.w     A7, 2
  3630. 00002634  486B 0016                pea.l      [A3 + 0x16]
  3631. 00002638  486A 0014                pea.l      [A2 + 0x14]
  3632. 0000263C  2003                     move.l     D0, D3
  3633. 0000263E  5280                     addq.l     D0, 1
  3634. 00002640  2F00                     move.l     -[A7], D0
  3635. 00002642  4EAD DA36                jsr        [A5 - 0x25CA]
  3636. 00002646  301F                     move.w     D0, [A7]+
  3637. 00002648  3800                     move.w     D4, D0
  3638. 0000264A  4A44                     tst.w      D4
  3639. 0000264C  670A                     beq        +0xC /* 00002658 */
  3640. 0000264E  3004                     move.w     D0, D4
  3641. 00002650  504F                     addq.w     A7, 8
  3642. 00002652  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3643. 00002656  4E75                     rts
  3644. label00002658:
  3645. 00002658  2F2A 00D6                move.l     -[A7], [A2 + 0xD6]
  3646. 0000265C  4EAD DD40                jsr        [A5 - 0x22C0]
  3647. 00002660  4EAD DD60                jsr        [A5 - 0x22A0]
  3648. 00002664  3F3C 0001                move.w     -[A7], 0x1
  3649. 00002668  A887                     syscall    TextFont
  3650. 0000266A  3F3C 000C                move.w     -[A7], 0xC
  3651. 0000266E  A88A                     syscall    TextSize
  3652. 00002670  4267                     clr.w      -[A7]
  3653. 00002672  A888                     syscall    TextFace
  3654. 00002674  2F03                     move.l     -[A7], D3
  3655. 00002676  486B 0016                pea.l      [A3 + 0x16]
  3656. 0000267A  4EBA 0082                jsr        [PC + 0x82 /* 000026FE */]
  3657. 0000267E  3800                     move.w     D4, D0
  3658. 00002680  3004                     move.w     D0, D4
  3659. 00002682  48C0                     ext.l      D0
  3660. 00002684  3A2A 0072                move.w     D5, [A2 + 0x72]
  3661. 00002688  48C5                     ext.l      D5
  3662. 0000268A  DA80                     add.l      D5, D0
  3663. 0000268C  5485                     addq.l     D5, 2
  3664. 0000268E  302A 0076                move.w     D0, [A2 + 0x76]
  3665. 00002692  48C0                     ext.l      D0
  3666. 00002694  BA80                     cmp.l      D5, D0
  3667. 00002696  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3668. 0000269A  6F04                     ble        +0x6 /* 000026A0 */
  3669. 0000269C  3545 0076                move.w     [A2 + 0x76], D5
  3670. label000026A0:
  3671. 000026A0  3F6A 0072 0002           move.w     [A7 + 0x2], [A2 + 0x72]
  3672. 000026A6  3F6A 0076 0006           move.w     [A7 + 0x6], [A2 + 0x76]
  3673. 000026AC  4257                     clr.w      [A7]
  3674. 000026AE  3F7C 7FFF 0004           move.w     [A7 + 0x4], 0x7FFF
  3675. 000026B4  594F                     subq.w     A7, 4
  3676. 000026B6  486F 0004                pea.l      [A7 + 0x4]
  3677. 000026BA  486F 0008                pea.l      [A7 + 0x8]
  3678. 000026BE  A9D2                     syscall    TENew
  3679. 000026C0  205F                     movea.l    A0, [A7]+
  3680. 000026C2  2848                     movea.l    A4, A0
  3681. 000026C4  200C                     move.l     D0, A4
  3682. 000026C6  6724                     beq        +0x26 /* 000026EC */
  3683. 000026C8  486B 0016                pea.l      [A3 + 0x16]
  3684. 000026CC  2F03                     move.l     -[A7], D3
  3685. 000026CE  2F0C                     move.l     -[A7], A4
  3686. 000026D0  A9CF                     syscall    TESetText
  3687. 000026D2  2654                     movea.l    A3, [A4]
  3688. 000026D4  302B 0018                move.w     D0, [A3 + 0x18]
  3689. 000026D8  C1EB 005E                muls.w     D0, [A3 + 0x5E]
  3690. 000026DC  3540 0022                move.w     [A2 + 0x22], D0
  3691. 000026E0  302A 0022                move.w     D0, [A2 + 0x22]
  3692. 000026E4  D16A 0074                add.w      [A2 + 0x74], D0
  3693. 000026E8  2F0C                     move.l     -[A7], A4
  3694. 000026EA  A9CD                     syscall    TEDispose
  3695. label000026EC:
  3696. 000026EC  4EAD DD68                jsr        [A5 - 0x2298]
  3697. 000026F0  4EAD DD48                jsr        [A5 - 0x22B8]
  3698. 000026F4  7000                     moveq.l    D0, 0x00
  3699. 000026F6  504F                     addq.w     A7, 8
  3700. 000026F8  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3701. 000026FC  4E75                     rts
  3702. fn000026FE:
  3703. 000026FE  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  3704. 00002702  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  3705. 00002706  246F 0020                movea.l    A2, [A7 + 0x20]
  3706. 0000270A  2A2F 0024                move.l     D5, [A7 + 0x24]
  3707. 0000270E  7800                     moveq.l    D4, 0x00
  3708. 00002710  7600                     moveq.l    D3, 0x00
  3709. 00002712  6046                     bra        +0x48 /* 0000275A */
  3710. label00002714:
  3711. 00002714  2F0A                     move.l     -[A7], A2
  3712. 00002716  3F05                     move.w     -[A7], D5
  3713. 00002718  3F03                     move.w     -[A7], D3
  3714. 0000271A  1F3C 0001                move.b     -[A7], 0x1
  3715. 0000271E  4878 FFFF                push.l     0xFFFF
  3716. 00002722  486F 000E                pea.l      [A7 + 0xE]
  3717. 00002726  2F3C 8012 001A           move.l     -[A7], 0x8012001A
  3718. 0000272C  A8B5                     syscall    ScriptUtil
  3719. 0000272E  554F                     subq.w     A7, 2
  3720. 00002730  2F0A                     move.l     -[A7], A2
  3721. 00002732  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  3722. 00002736  302F 0008                move.w     D0, [A7 + 0x8]
  3723. 0000273A  48C0                     ext.l      D0
  3724. 0000273C  322F 000A                move.w     D1, [A7 + 0xA]
  3725. 00002740  48C1                     ext.l      D1
  3726. 00002742  9280                     sub.l      D1, D0
  3727. 00002744  3F01                     move.w     -[A7], D1
  3728. 00002746  A886                     syscall    TextWidth
  3729. 00002748  301F                     move.w     D0, [A7]+
  3730. 0000274A  3600                     move.w     D3, D0
  3731. 0000274C  B644                     cmp.w      D3, D4
  3732. 0000274E  6F02                     ble        +0x4 /* 00002752 */
  3733. 00002750  3803                     move.w     D4, D3
  3734. label00002752:
  3735. 00002752  362F 0002                move.w     D3, [A7 + 0x2]
  3736. 00002756  48C3                     ext.l      D3
  3737. 00002758  5283                     addq.l     D3, 1
  3738. label0000275A:
  3739. 0000275A  3003                     move.w     D0, D3
  3740. 0000275C  48C0                     ext.l      D0
  3741. 0000275E  B085                     cmp.l      D0, D5
  3742. 00002760  65B2                     bcs        -0x4C /* 00002714 */
  3743. 00002762  3004                     move.w     D0, D4
  3744. 00002764  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3745. 00002768  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  3746. 0000276C  4E75                     rts
  3747. fn0000276E:
  3748. 0000276E  48E7 1020                movem.l    -[A7], D3,A2
  3749. 00002772  246F 000C                movea.l    A2, [A7 + 0xC]
  3750. 00002776  302F 0010                move.w     D0, [A7 + 0x10]
  3751. 0000277A  7202                     moveq.l    D1, 0x02
  3752. 0000277C  C081                     and.l      D0, D1
  3753. 0000277E  6604                     bne        +0x6 /* 00002784 */
  3754. 00002780  7006                     moveq.l    D0, 0x06
  3755. 00002782  6002                     bra        +0x4 /* 00002786 */
  3756. label00002784:
  3757. 00002784  7000                     moveq.l    D0, 0x00
  3758. label00002786:
  3759. 00002786  7200                     moveq.l    D1, 0x00
  3760. 00002788  1200                     move.b     D1, D0
  3761. 0000278A  2601                     move.l     D3, D1
  3762. 0000278C  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  3763. 00002790  2F03                     move.l     -[A7], D3
  3764. 00002792  4EAD DB26                jsr        [A5 - 0x24DA]
  3765. 00002796  2548 00C6                move.l     [A2 + 0xC6], A0
  3766. 0000279A  2008                     move.l     D0, A0
  3767. 0000279C  504F                     addq.w     A7, 8
  3768. 0000279E  6728                     beq        +0x2A /* 000027C8 */
  3769. 000027A0  206A 00C6                movea.l    A0, [A2 + 0xC6]
  3770. 000027A4  A04A                     syscall    HNoPurge
  3771. 000027A6  2F03                     move.l     -[A7], D3
  3772. 000027A8  2F2A 00C6                move.l     -[A7], [A2 + 0xC6]
  3773. 000027AC  4EAD DB2C                jsr        [A5 - 0x24D4]
  3774. 000027B0  4EAD DB02                jsr        [A5 - 0x24FE]
  3775. 000027B4  4A40                     tst.w      D0
  3776. 000027B6  504F                     addq.w     A7, 8
  3777. 000027B8  6706                     beq        +0x8 /* 000027C0 */
  3778. 000027BA  42AA 00C6                clr.l      [A2 + 0xC6]
  3779. 000027BE  6008                     bra        +0xA /* 000027C8 */
  3780. label000027C0:
  3781. 000027C0  2F0A                     move.l     -[A7], A2
  3782. 000027C2  4EBA 000A                jsr        [PC + 0xA /* 000027CE */]
  3783. 000027C6  584F                     addq.w     A7, 4
  3784. label000027C8:
  3785. 000027C8  4CDF 0408                movem.l    D3,A2, [A7]+
  3786. 000027CC  4E75                     rts
  3787. fn000027CE:
  3788. 000027CE  48E7 1E38                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4
  3789. 000027D2  594F                     subq.w     A7, 4
  3790. 000027D4  266F 0024                movea.l    A3, [A7 + 0x24]
  3791. 000027D8  2F2B 00C6                move.l     -[A7], [A3 + 0xC6]
  3792. 000027DC  4EAD DD80                jsr        [A5 - 0x2280]
  3793. 000027E0  2848                     movea.l    A4, A0
  3794. 000027E2  7A00                     moveq.l    D5, 0x00
  3795. 000027E4  7800                     moveq.l    D4, 0x00
  3796. 000027E6  7C08                     moveq.l    D6, 0x08
  3797. 000027E8  2F2B 00D6                move.l     -[A7], [A3 + 0xD6]
  3798. 000027EC  4EAD DD40                jsr        [A5 - 0x22C0]
  3799. 000027F0  4EAD DD60                jsr        [A5 - 0x22A0]
  3800. 000027F4  3F3C 0001                move.w     -[A7], 0x1
  3801. 000027F8  A887                     syscall    TextFont
  3802. 000027FA  3F3C 000C                move.w     -[A7], 0xC
  3803. 000027FE  A88A                     syscall    TextSize
  3804. 00002800  4267                     clr.w      -[A7]
  3805. 00002802  A888                     syscall    TextFace
  3806. 00002804  204C                     movea.l    A0, A4
  3807. 00002806  5488                     addq.l     A0, 2
  3808. 00002808  2448                     movea.l    A2, A0
  3809. 0000280A  2F48 0008                move.l     [A7 + 0x8], A0
  3810. 0000280E  504F                     addq.w     A7, 8
  3811. 00002810  6020                     bra        +0x22 /* 00002832 */
  3812. label00002812:
  3813. 00002812  554F                     subq.w     A7, 2
  3814. 00002814  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  3815. 00002818  4267                     clr.w      -[A7]
  3816. 0000281A  204A                     movea.l    A0, A2
  3817. 0000281C  91EF 0008                sub.l      A0, [A7 + 0x8]
  3818. 00002820  2008                     move.l     D0, A0
  3819. 00002822  3F00                     move.w     -[A7], D0
  3820. 00002824  A886                     syscall    TextWidth
  3821. 00002826  301F                     move.w     D0, [A7]+
  3822. 00002828  3600                     move.w     D3, D0
  3823. 0000282A  B644                     cmp.w      D3, D4
  3824. 0000282C  6F02                     ble        +0x4 /* 00002830 */
  3825. 0000282E  3803                     move.w     D4, D3
  3826. label00002830:
  3827. 00002830  5285                     addq.l     D5, 1
  3828. label00002832:
  3829. 00002832  4857                     pea.l      [A7]
  3830. 00002834  2F0A                     move.l     -[A7], A2
  3831. 00002836  4EBA FA80                jsr        [PC - 0x580 /* 000022B8 */]
  3832. 0000283A  2448                     movea.l    A2, A0
  3833. 0000283C  2008                     move.l     D0, A0
  3834. 0000283E  504F                     addq.w     A7, 8
  3835. 00002840  66D0                     bne        -0x2E /* 00002812 */
  3836. 00002842  486B 00CC                pea.l      [A3 + 0xCC]
  3837. 00002846  4EAD DD90                jsr        [A5 - 0x2270]
  3838. 0000284A  3740 00CE                move.w     [A3 + 0xCE], D0
  3839. 0000284E  302B 00CE                move.w     D0, [A3 + 0xCE]
  3840. 00002852  48C0                     ext.l      D0
  3841. 00002854  2205                     move.l     D1, D5
  3842. 00002856  4EAD D8F8                jsr        [A5 - 0x2708]
  3843. 0000285A  3740 00CA                move.w     [A3 + 0xCA], D0
  3844. 0000285E  3006                     move.w     D0, D6
  3845. 00002860  48C0                     ext.l      D0
  3846. 00002862  5680                     addq.l     D0, 3
  3847. 00002864  D16B 00CA                add.w      [A3 + 0xCA], D0
  3848. 00002868  526B 00CC                addq.w     [A3 + 0xCC], 1
  3849. 0000286C  5846                     addq.w     D6, 4
  3850. 0000286E  302B 00CA                move.w     D0, [A3 + 0xCA]
  3851. 00002872  D16B 0074                add.w      [A3 + 0x74], D0
  3852. 00002876  302B 0072                move.w     D0, [A3 + 0x72]
  3853. 0000287A  48C0                     ext.l      D0
  3854. 0000287C  322B 0076                move.w     D1, [A3 + 0x76]
  3855. 00002880  48C1                     ext.l      D1
  3856. 00002882  9280                     sub.l      D1, D0
  3857. 00002884  3006                     move.w     D0, D6
  3858. 00002886  48C0                     ext.l      D0
  3859. 00002888  9280                     sub.l      D1, D0
  3860. 0000288A  3004                     move.w     D0, D4
  3861. 0000288C  48C0                     ext.l      D0
  3862. 0000288E  B081                     cmp.l      D0, D1
  3863. 00002890  584F                     addq.w     A7, 4
  3864. 00002892  6F16                     ble        +0x18 /* 000028AA */
  3865. 00002894  3004                     move.w     D0, D4
  3866. 00002896  48C0                     ext.l      D0
  3867. 00002898  322B 0072                move.w     D1, [A3 + 0x72]
  3868. 0000289C  48C1                     ext.l      D1
  3869. 0000289E  D280                     add.l      D1, D0
  3870. 000028A0  3006                     move.w     D0, D6
  3871. 000028A2  48C0                     ext.l      D0
  3872. 000028A4  D081                     add.l      D0, D1
  3873. 000028A6  3740 0076                move.w     [A3 + 0x76], D0
  3874. label000028AA:
  3875. 000028AA  082B 0007 00D2           btst.b     [A3 + 0xD2], 0x7
  3876. 000028B0  6604                     bne        +0x6 /* 000028B6 */
  3877. 000028B2  526B 00CA                addq.w     [A3 + 0xCA], 1
  3878. label000028B6:
  3879. 000028B6  4EAD DD68                jsr        [A5 - 0x2298]
  3880. 000028BA  4EAD DD48                jsr        [A5 - 0x22B8]
  3881. 000028BE  2F2B 00C6                move.l     -[A7], [A3 + 0xC6]
  3882. 000028C2  4EAD DD88                jsr        [A5 - 0x2278]
  3883. 000028C6  504F                     addq.w     A7, 8
  3884. 000028C8  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  3885. 000028CC  4E75                     rts
  3886. fn000028CE:
  3887. 000028CE  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  3888. 000028D2  246F 001C                movea.l    A2, [A7 + 0x1C]
  3889. 000028D6  362A 0072                move.w     D3, [A2 + 0x72]
  3890. 000028DA  382A 0074                move.w     D4, [A2 + 0x74]
  3891. 000028DE  302A 0072                move.w     D0, [A2 + 0x72]
  3892. 000028E2  48C0                     ext.l      D0
  3893. 000028E4  3C2A 0076                move.w     D6, [A2 + 0x76]
  3894. 000028E8  48C6                     ext.l      D6
  3895. 000028EA  9C80                     sub.l      D6, D0
  3896. 000028EC  BC6A 006A                cmp.w      D6, [A2 + 0x6A]
  3897. 000028F0  6F0E                     ble        +0x10 /* 00002900 */
  3898. 000028F2  302A 006A                move.w     D0, [A2 + 0x6A]
  3899. 000028F6  48C0                     ext.l      D0
  3900. 000028F8  3A06                     move.w     D5, D6
  3901. 000028FA  48C5                     ext.l      D5
  3902. 000028FC  9A80                     sub.l      D5, D0
  3903. 000028FE  6002                     bra        +0x4 /* 00002902 */
  3904. label00002900:
  3905. 00002900  7A00                     moveq.l    D5, 0x00
  3906. label00002902:
  3907. 00002902  4878 0001                push.l     0x1
  3908. 00002906  2F0A                     move.l     -[A7], A2
  3909. 00002908  4EBA EDD2                jsr        [PC - 0x122E /* 000016DC */]
  3910. 0000290C  4AAA 004E                tst.l      [A2 + 0x4E]
  3911. 00002910  504F                     addq.w     A7, 8
  3912. 00002912  6714                     beq        +0x16 /* 00002928 */
  3913. 00002914  3F04                     move.w     -[A7], D4
  3914. 00002916  3F03                     move.w     -[A7], D3
  3915. 00002918  2F2A 004E                move.l     -[A7], [A2 + 0x4E]
  3916. 0000291C  4EBA 007C                jsr        [PC + 0x7C /* 0000299A */]
  3917. 00002920  48C0                     ext.l      D0
  3918. 00002922  5380                     subq.l     D0, 1
  3919. 00002924  D640                     add.w      D3, D0
  3920. 00002926  504F                     addq.w     A7, 8
  3921. label00002928:
  3922. 00002928  4AAA 0052                tst.l      [A2 + 0x52]
  3923. 0000292C  6714                     beq        +0x16 /* 00002942 */
  3924. 0000292E  3F04                     move.w     -[A7], D4
  3925. 00002930  3F03                     move.w     -[A7], D3
  3926. 00002932  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  3927. 00002936  4EBA 0062                jsr        [PC + 0x62 /* 0000299A */]
  3928. 0000293A  48C0                     ext.l      D0
  3929. 0000293C  5380                     subq.l     D0, 1
  3930. 0000293E  D640                     add.w      D3, D0
  3931. 00002940  504F                     addq.w     A7, 8
  3932. label00002942:
  3933. 00002942  4AAA 005A                tst.l      [A2 + 0x5A]
  3934. 00002946  6728                     beq        +0x2A /* 00002970 */
  3935. 00002948  4A45                     tst.w      D5
  3936. 0000294A  6710                     beq        +0x12 /* 0000295C */
  3937. 0000294C  266A 005A                movea.l    A3, [A2 + 0x5A]
  3938. 00002950  2653                     movea.l    A3, [A3]
  3939. 00002952  508B                     addq.l     A3, 8
  3940. 00002954  DB6B 0006                add.w      [A3 + 0x6], D5
  3941. 00002958  DB6A 006A                add.w      [A2 + 0x6A], D5
  3942. label0000295C:
  3943. 0000295C  3F04                     move.w     -[A7], D4
  3944. 0000295E  3F03                     move.w     -[A7], D3
  3945. 00002960  2F2A 005A                move.l     -[A7], [A2 + 0x5A]
  3946. 00002964  4EBA 0034                jsr        [PC + 0x34 /* 0000299A */]
  3947. 00002968  48C0                     ext.l      D0
  3948. 0000296A  5380                     subq.l     D0, 1
  3949. 0000296C  D640                     add.w      D3, D0
  3950. 0000296E  504F                     addq.w     A7, 8
  3951. label00002970:
  3952. 00002970  4AAA 0056                tst.l      [A2 + 0x56]
  3953. 00002974  6714                     beq        +0x16 /* 0000298A */
  3954. 00002976  3F04                     move.w     -[A7], D4
  3955. 00002978  3F03                     move.w     -[A7], D3
  3956. 0000297A  2F2A 0056                move.l     -[A7], [A2 + 0x56]
  3957. 0000297E  4EBA 001A                jsr        [PC + 0x1A /* 0000299A */]
  3958. 00002982  48C0                     ext.l      D0
  3959. 00002984  5380                     subq.l     D0, 1
  3960. 00002986  D640                     add.w      D3, D0
  3961. 00002988  504F                     addq.w     A7, 8
  3962. label0000298A:
  3963. 0000298A  42A7                     clr.l      -[A7]
  3964. 0000298C  2F0A                     move.l     -[A7], A2
  3965. 0000298E  4EBA ED4C                jsr        [PC - 0x12B4 /* 000016DC */]
  3966. 00002992  504F                     addq.w     A7, 8
  3967. 00002994  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  3968. 00002998  4E75                     rts
  3969. fn0000299A:
  3970. 0000299A  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  3971. 0000299E  266F 0014                movea.l    A3, [A7 + 0x14]
  3972. 000029A2  2453                     movea.l    A2, [A3]
  3973. 000029A4  508A                     addq.l     A2, 8
  3974. 000029A6  3012                     move.w     D0, [A2]
  3975. 000029A8  48C0                     ext.l      D0
  3976. 000029AA  362A 0004                move.w     D3, [A2 + 0x4]
  3977. 000029AE  48C3                     ext.l      D3
  3978. 000029B0  9680                     sub.l      D3, D0
  3979. 000029B2  302A 0002                move.w     D0, [A2 + 0x2]
  3980. 000029B6  48C0                     ext.l      D0
  3981. 000029B8  382A 0006                move.w     D4, [A2 + 0x6]
  3982. 000029BC  48C4                     ext.l      D4
  3983. 000029BE  9880                     sub.l      D4, D0
  3984. 000029C0  42A7                     clr.l      -[A7]
  3985. 000029C2  3003                     move.w     D0, D3
  3986. 000029C4  48C0                     ext.l      D0
  3987. 000029C6  322F 001E                move.w     D1, [A7 + 0x1E]
  3988. 000029CA  48C1                     ext.l      D1
  3989. 000029CC  9280                     sub.l      D1, D0
  3990. 000029CE  3F01                     move.w     -[A7], D1
  3991. 000029D0  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  3992. 000029D4  2F0B                     move.l     -[A7], A3
  3993. 000029D6  4EAD E910                jsr        [A5 - 0x16F0]
  3994. 000029DA  3004                     move.w     D0, D4
  3995. 000029DC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3996. 000029E0  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  3997. 000029E4  4E75                     rts
  3998. fn000029E6:
  3999. 000029E6  2F0A                     move.l     -[A7], A2
  4000. 000029E8  554F                     subq.w     A7, 2
  4001. 000029EA  246F 000A                movea.l    A2, [A7 + 0xA]
  4002. 000029EE  082A 0006 006C           btst.b     [A2 + 0x6C], 0x6
  4003. 000029F4  674C                     beq        +0x4E /* 00002A42 */
  4004. 000029F6  4878 0001                push.l     0x1
  4005. 000029FA  2F0A                     move.l     -[A7], A2
  4006. 000029FC  4EBA ECDE                jsr        [PC - 0x1322 /* 000016DC */]
  4007. 00002A00  3F2A 0066                move.w     -[A7], [A2 + 0x66]
  4008. 00002A04  4EBA 157C                jsr        [PC + 0x157C /* 00003F82 */]
  4009. 00002A08  3F40 000A                move.w     [A7 + 0xA], D0
  4010. 00002A0C  0C40 0064                cmpi.w     D0, 0x64 /* 'd' */
  4011. 00002A10  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4012. 00002A14  6612                     bne        +0x14 /* 00002A28 */
  4013. 00002A16  002A 0008 006C           ori.b      [A2 + 0x6C], 0x8
  4014. 00002A1C  4878 0001                push.l     0x1
  4015. 00002A20  2F0A                     move.l     -[A7], A2
  4016. 00002A22  4EBA 0024                jsr        [PC + 0x24 /* 00002A48 */]
  4017. 00002A26  504F                     addq.w     A7, 8
  4018. label00002A28:
  4019. 00002A28  4AAA 005A                tst.l      [A2 + 0x5A]
  4020. 00002A2C  670A                     beq        +0xC /* 00002A38 */
  4021. 00002A2E  2F2A 005A                move.l     -[A7], [A2 + 0x5A]
  4022. 00002A32  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  4023. 00002A36  A963                     syscall    SetControlValue/SetCtlValue
  4024. label00002A38:
  4025. 00002A38  42A7                     clr.l      -[A7]
  4026. 00002A3A  2F0A                     move.l     -[A7], A2
  4027. 00002A3C  4EBA EC9E                jsr        [PC - 0x1362 /* 000016DC */]
  4028. 00002A40  504F                     addq.w     A7, 8
  4029. label00002A42:
  4030. 00002A42  544F                     addq.w     A7, 2
  4031. 00002A44  245F                     movea.l    A2, [A7]+
  4032. 00002A46  4E75                     rts
  4033. fn00002A48:
  4034. 00002A48  2F0A                     move.l     -[A7], A2
  4035. 00002A4A  246F 0008                movea.l    A2, [A7 + 0x8]
  4036. 00002A4E  082A 0006 006C           btst.b     [A2 + 0x6C], 0x6
  4037. 00002A54  6752                     beq        +0x54 /* 00002AA8 */
  4038. 00002A56  022A 00F7 006C           andi.b     [A2 + 0x6C], 0xF7
  4039. 00002A5C  4878 0001                push.l     0x1
  4040. 00002A60  2F0A                     move.l     -[A7], A2
  4041. 00002A62  4EBA EC78                jsr        [PC - 0x1388 /* 000016DC */]
  4042. 00002A66  3F2A 0066                move.w     -[A7], [A2 + 0x66]
  4043. 00002A6A  4EBA 147E                jsr        [PC + 0x147E /* 00003EEA */]
  4044. 00002A6E  022A 00BF 006C           andi.b     [A2 + 0x6C], 0xBF
  4045. 00002A74  022A 00DF 006C           andi.b     [A2 + 0x6C], 0xDF
  4046. 00002A7A  4AAF 0016                tst.l      [A7 + 0x16]
  4047. 00002A7E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4048. 00002A82  671A                     beq        +0x1C /* 00002A9E */
  4049. 00002A84  4AAA 004E                tst.l      [A2 + 0x4E]
  4050. 00002A88  6714                     beq        +0x16 /* 00002A9E */
  4051. 00002A8A  2F2A 004E                move.l     -[A7], [A2 + 0x4E]
  4052. 00002A8E  302D 135E                move.w     D0, [A5 + 0x135E]
  4053. 00002A92  48C0                     ext.l      D0
  4054. 00002A94  0680 0000 0080           addi.l     D0, 0x80
  4055. 00002A9A  3F00                     move.w     -[A7], D0
  4056. 00002A9C  A963                     syscall    SetControlValue/SetCtlValue
  4057. label00002A9E:
  4058. 00002A9E  42A7                     clr.l      -[A7]
  4059. 00002AA0  2F0A                     move.l     -[A7], A2
  4060. 00002AA2  4EBA EC38                jsr        [PC - 0x13C8 /* 000016DC */]
  4061. 00002AA6  504F                     addq.w     A7, 8
  4062. label00002AA8:
  4063. 00002AA8  245F                     movea.l    A2, [A7]+
  4064. 00002AAA  4E75                     rts
  4065. fn00002AAC:
  4066. 00002AAC  2F0A                     move.l     -[A7], A2
  4067. 00002AAE  246F 0008                movea.l    A2, [A7 + 0x8]
  4068. 00002AB2  4AAA 004E                tst.l      [A2 + 0x4E]
  4069. 00002AB6  6732                     beq        +0x34 /* 00002AEA */
  4070. 00002AB8  2F2A 004E                move.l     -[A7], [A2 + 0x4E]
  4071. 00002ABC  082A 0006 006C           btst.b     [A2 + 0x6C], 0x6
  4072. 00002AC2  6708                     beq        +0xA /* 00002ACC */
  4073. 00002AC4  082A 0005 006C           btst.b     [A2 + 0x6C], 0x5
  4074. 00002ACA  670E                     beq        +0x10 /* 00002ADA */
  4075. label00002ACC:
  4076. 00002ACC  302D 135E                move.w     D0, [A5 + 0x135E]
  4077. 00002AD0  48C0                     ext.l      D0
  4078. 00002AD2  0680 0000 0080           addi.l     D0, 0x80
  4079. 00002AD8  600C                     bra        +0xE /* 00002AE6 */
  4080. label00002ADA:
  4081. 00002ADA  302D 135E                move.w     D0, [A5 + 0x135E]
  4082. 00002ADE  48C0                     ext.l      D0
  4083. 00002AE0  0680 0000 0081           addi.l     D0, 0x81
  4084. label00002AE6:
  4085. 00002AE6  3F00                     move.w     -[A7], D0
  4086. 00002AE8  A963                     syscall    SetControlValue/SetCtlValue
  4087. label00002AEA:
  4088. 00002AEA  245F                     movea.l    A2, [A7]+
  4089. 00002AEC  4E75                     rts
  4090. fn00002AEE:
  4091. 00002AEE  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  4092. 00002AF2  5D4F                     subq.w     A7, 6
  4093. 00002AF4  246F 001A                movea.l    A2, [A7 + 0x1A]
  4094. 00002AF8  082A 0006 006C           btst.b     [A2 + 0x6C], 0x6
  4095. 00002AFE  6600 00E6                bne        +0xE8 /* 00002BE6 */
  4096. 00002B02  022A 00DF 006C           andi.b     [A2 + 0x6C], 0xDF
  4097. 00002B08  4AAA 005A                tst.l      [A2 + 0x5A]
  4098. 00002B0C  6716                     beq        +0x18 /* 00002B24 */
  4099. 00002B0E  082A 0003 006C           btst.b     [A2 + 0x6C], 0x3
  4100. 00002B14  660E                     bne        +0x10 /* 00002B24 */
  4101. 00002B16  554F                     subq.w     A7, 2
  4102. 00002B18  2F2A 005A                move.l     -[A7], [A2 + 0x5A]
  4103. 00002B1C  A960                     syscall    GetControlValue/GetCtlValue
  4104. 00002B1E  301F                     move.w     D0, [A7]+
  4105. 00002B20  3600                     move.w     D3, D0
  4106. 00002B22  6002                     bra        +0x4 /* 00002B26 */
  4107. label00002B24:
  4108. 00002B24  7600                     moveq.l    D3, 0x00
  4109. label00002B26:
  4110. 00002B26  022A 00F7 006C           andi.b     [A2 + 0x6C], 0xF7
  4111. 00002B2C  082A 0007 006C           btst.b     [A2 + 0x6C], 0x7
  4112. 00002B32  6768                     beq        +0x6A /* 00002B9C */
  4113. 00002B34  082A 0004 006C           btst.b     [A2 + 0x6C], 0x4
  4114. 00002B3A  672C                     beq        +0x2E /* 00002B68 */
  4115. 00002B3C  554F                     subq.w     A7, 2
  4116. 00002B3E  A994                     syscall    CurResFile
  4117. 00002B40  301F                     move.w     D0, [A7]+
  4118. 00002B42  3A00                     move.w     D5, D0
  4119. 00002B44  3F2A 0068                move.w     -[A7], [A2 + 0x68]
  4120. 00002B48  A998                     syscall    UseResFile
  4121. 00002B4A  486A 0066                pea.l      [A2 + 0x66]
  4122. 00002B4E  3043                     movea.w    A0, D3
  4123. 00002B50  2F08                     move.l     -[A7], A0
  4124. 00002B52  2F2A 0062                move.l     -[A7], [A2 + 0x62]
  4125. 00002B56  4267                     clr.w      -[A7]
  4126. 00002B58  4EBA 1180                jsr        [PC + 0x1180 /* 00003CDA */]
  4127. 00002B5C  3800                     move.w     D4, D0
  4128. 00002B5E  3F05                     move.w     -[A7], D5
  4129. 00002B60  A998                     syscall    UseResFile
  4130. 00002B62  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4131. 00002B66  6018                     bra        +0x1A /* 00002B80 */
  4132. label00002B68:
  4133. 00002B68  486A 0066                pea.l      [A2 + 0x66]
  4134. 00002B6C  3043                     movea.w    A0, D3
  4135. 00002B6E  2F08                     move.l     -[A7], A0
  4136. 00002B70  42A7                     clr.l      -[A7]
  4137. 00002B72  3F2A 0068                move.w     -[A7], [A2 + 0x68]
  4138. 00002B76  4EBA 1162                jsr        [PC + 0x1162 /* 00003CDA */]
  4139. 00002B7A  3800                     move.w     D4, D0
  4140. 00002B7C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4141. label00002B80:
  4142. 00002B80  4A44                     tst.w      D4
  4143. 00002B82  57C0                     seq        D0
  4144. 00002B84  4400                     neg.b      D0
  4145. 00002B86  4880                     ext.w      D0
  4146. 00002B88  48C0                     ext.l      D0
  4147. 00002B8A  ED08                     lsl        D0.b, 6
  4148. 00002B8C  0200 0040                andi.b     D0, 0x40 /* '@' */
  4149. 00002B90  022A 00BF 006C           andi.b     [A2 + 0x6C], 0xBF
  4150. 00002B96  812A 006C                or.b       [A2 + 0x6C], D0
  4151. 00002B9A  604A                     bra        +0x4C /* 00002BE6 */
  4152. label00002B9C:
  4153. 00002B9C  4EAD DB08                jsr        [A5 - 0x24F8]
  4154. 00002BA0  3800                     move.w     D4, D0
  4155. 00002BA2  3F2A 00E4                move.w     -[A7], [A2 + 0xE4]
  4156. 00002BA6  4EAD DB0E                jsr        [A5 - 0x24F2]
  4157. 00002BAA  486F 0004                pea.l      [A7 + 0x4]
  4158. 00002BAE  486F 0006                pea.l      [A7 + 0x6]
  4159. 00002BB2  2F2A 0062                move.l     -[A7], [A2 + 0x62]
  4160. 00002BB6  2F2A 005E                move.l     -[A7], [A2 + 0x5E]
  4161. 00002BBA  4EAD DB4A                jsr        [A5 - 0x24B6]
  4162. 00002BBE  3F04                     move.w     -[A7], D4
  4163. 00002BC0  4EAD DB0E                jsr        [A5 - 0x24F2]
  4164. 00002BC4  486A 0066                pea.l      [A2 + 0x66]
  4165. 00002BC8  3043                     movea.w    A0, D3
  4166. 00002BCA  2F08                     move.l     -[A7], A0
  4167. 00002BCC  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  4168. 00002BD0  3F2A 0068                move.w     -[A7], [A2 + 0x68]
  4169. 00002BD4  4EBA 1104                jsr        [PC + 0x1104 /* 00003CDA */]
  4170. 00002BD8  4A40                     tst.w      D0
  4171. 00002BDA  4FEF 0022                lea.l      A7, [A7 + 0x22]
  4172. 00002BDE  6606                     bne        +0x8 /* 00002BE6 */
  4173. 00002BE0  002A 0040 006C           ori.b      [A2 + 0x6C], 0x40 /* '@' */
  4174. label00002BE6:
  4175. 00002BE6  5C4F                     addq.w     A7, 6
  4176. 00002BE8  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  4177. 00002BEC  4E75                     rts
  4178. fn00002BEE:
  4179. 00002BEE  2F0A                     move.l     -[A7], A2
  4180. 00002BF0  246F 0008                movea.l    A2, [A7 + 0x8]
  4181. 00002BF4  082A 0006 006C           btst.b     [A2 + 0x6C], 0x6
  4182. 00002BFA  6740                     beq        +0x42 /* 00002C3C */
  4183. 00002BFC  102A 006C                move.b     D0, [A2 + 0x6C]
  4184. 00002C00  E500                     asl        D0.b, 2
  4185. 00002C02  EE00                     asr        D0.b, 7
  4186. 00002C04  56C0                     sne        D0
  4187. 00002C06  4400                     neg.b      D0
  4188. 00002C08  4880                     ext.w      D0
  4189. 00002C0A  48C0                     ext.l      D0
  4190. 00002C0C  B0AF 000C                cmp.l      D0, [A7 + 0xC]
  4191. 00002C10  672A                     beq        +0x2C /* 00002C3C */
  4192. 00002C12  3F2A 0066                move.w     -[A7], [A2 + 0x66]
  4193. 00002C16  4EBA 1816                jsr        [PC + 0x1816 /* 0000442E */]
  4194. 00002C1A  102A 006C                move.b     D0, [A2 + 0x6C]
  4195. 00002C1E  E500                     asl        D0.b, 2
  4196. 00002C20  EE00                     asr        D0.b, 7
  4197. 00002C22  57C0                     seq        D0
  4198. 00002C24  4400                     neg.b      D0
  4199. 00002C26  4880                     ext.w      D0
  4200. 00002C28  48C0                     ext.l      D0
  4201. 00002C2A  EB08                     lsl        D0.b, 5
  4202. 00002C2C  0200 0020                andi.b     D0, 0x20 /* ' ' */
  4203. 00002C30  022A 00DF 006C           andi.b     [A2 + 0x6C], 0xDF
  4204. 00002C36  812A 006C                or.b       [A2 + 0x6C], D0
  4205. 00002C3A  544F                     addq.w     A7, 2
  4206. label00002C3C:
  4207. 00002C3C  245F                     movea.l    A2, [A7]+
  4208. 00002C3E  4E75                     rts
  4209. 00002C40  48E7 1020                movem.l    -[A7], D3,A2
  4210. 00002C44  246F 000E                movea.l    A2, [A7 + 0xE]
  4211. 00002C48  362F 000C                move.w     D3, [A7 + 0xC]
  4212. 00002C4C  4AAD 8A32                tst.l      [A5 - 0x75CE]
  4213. 00002C50  6700 0132                beq        +0x134 /* 00002D84 */
  4214. 00002C54  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4215. 00002C58  4EBA FD8C                jsr        [PC - 0x274 /* 000029E6 */]
  4216. 00002C5C  206D 8A32                movea.l    A0, [A5 - 0x75CE]
  4217. 00002C60  B5E8 004E                cmpa.l     A2, [A0 + 0x4E]
  4218. 00002C64  584F                     addq.w     A7, 4
  4219. 00002C66  6600 0084                bne        +0x86 /* 00002CEC */
  4220. 00002C6A  2052                     movea.l    A0, [A2]
  4221. 00002C6C  3028 0012                move.w     D0, [A0 + 0x12]
  4222. 00002C70  48C0                     ext.l      D0
  4223. 00002C72  322D 135E                move.w     D1, [A5 + 0x135E]
  4224. 00002C76  48C1                     ext.l      D1
  4225. 00002C78  0681 0000 0081           addi.l     D1, 0x81
  4226. 00002C7E  B280                     cmp.l      D1, D0
  4227. 00002C80  6628                     bne        +0x2A /* 00002CAA */
  4228. 00002C82  0C43 000A                cmpi.w     D3, 0xA /* '\n' */
  4229. 00002C86  6612                     bne        +0x14 /* 00002C9A */
  4230. 00002C88  4878 0001                push.l     0x1
  4231. 00002C8C  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4232. 00002C90  4EBA FF5C                jsr        [PC - 0xA4 /* 00002BEE */]
  4233. 00002C94  504F                     addq.w     A7, 8
  4234. 00002C96  6000 00EC                bra        +0xEE /* 00002D84 */
  4235. label00002C9A:
  4236. 00002C9A  42A7                     clr.l      -[A7]
  4237. 00002C9C  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4238. 00002CA0  4EBA FF4C                jsr        [PC - 0xB4 /* 00002BEE */]
  4239. 00002CA4  504F                     addq.w     A7, 8
  4240. 00002CA6  6000 00DC                bra        +0xDE /* 00002D84 */
  4241. label00002CAA:
  4242. 00002CAA  0C43 000A                cmpi.w     D3, 0xA /* '\n' */
  4243. 00002CAE  662A                     bne        +0x2C /* 00002CDA */
  4244. 00002CB0  206D 8A32                movea.l    A0, [A5 - 0x75CE]
  4245. 00002CB4  0828 0006 006C           btst.b     [A0 + 0x6C], 0x6
  4246. 00002CBA  6710                     beq        +0x12 /* 00002CCC */
  4247. 00002CBC  42A7                     clr.l      -[A7]
  4248. 00002CBE  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4249. 00002CC2  4EBA FF2A                jsr        [PC - 0xD6 /* 00002BEE */]
  4250. 00002CC6  504F                     addq.w     A7, 8
  4251. 00002CC8  6000 00BA                bra        +0xBC /* 00002D84 */
  4252. label00002CCC:
  4253. 00002CCC  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4254. 00002CD0  4EBA FE1C                jsr        [PC - 0x1E4 /* 00002AEE */]
  4255. 00002CD4  584F                     addq.w     A7, 4
  4256. 00002CD6  6000 00AC                bra        +0xAE /* 00002D84 */
  4257. label00002CDA:
  4258. 00002CDA  4878 0001                push.l     0x1
  4259. 00002CDE  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4260. 00002CE2  4EBA FF0A                jsr        [PC - 0xF6 /* 00002BEE */]
  4261. 00002CE6  504F                     addq.w     A7, 8
  4262. 00002CE8  6000 009A                bra        +0x9C /* 00002D84 */
  4263. label00002CEC:
  4264. 00002CEC  B5E8 0052                cmpa.l     A2, [A0 + 0x52]
  4265. 00002CF0  6622                     bne        +0x24 /* 00002D14 */
  4266. 00002CF2  4878 0001                push.l     0x1
  4267. 00002CF6  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4268. 00002CFA  4EBA FD4C                jsr        [PC - 0x2B4 /* 00002A48 */]
  4269. 00002CFE  206D 8A32                movea.l    A0, [A5 - 0x75CE]
  4270. 00002D02  4AA8 005A                tst.l      [A0 + 0x5A]
  4271. 00002D06  504F                     addq.w     A7, 8
  4272. 00002D08  677A                     beq        +0x7C /* 00002D84 */
  4273. 00002D0A  2F28 005A                move.l     -[A7], [A0 + 0x5A]
  4274. 00002D0E  4267                     clr.w      -[A7]
  4275. 00002D10  A963                     syscall    SetControlValue/SetCtlValue
  4276. 00002D12  6070                     bra        +0x72 /* 00002D84 */
  4277. label00002D14:
  4278. 00002D14  B5E8 0056                cmpa.l     A2, [A0 + 0x56]
  4279. 00002D18  666A                     bne        +0x6C /* 00002D84 */
  4280. 00002D1A  0C43 000A                cmpi.w     D3, 0xA /* '\n' */
  4281. 00002D1E  6708                     beq        +0xA /* 00002D28 */
  4282. 00002D20  0228 00FB 006C           andi.b     [A0 + 0x6C], 0xFB
  4283. 00002D26  605C                     bra        +0x5E /* 00002D84 */
  4284. label00002D28:
  4285. 00002D28  0828 0002 006C           btst.b     [A0 + 0x6C], 0x2
  4286. 00002D2E  6654                     bne        +0x56 /* 00002D84 */
  4287. 00002D30  0028 0004 006C           ori.b      [A0 + 0x6C], 0x4
  4288. 00002D36  2048                     movea.l    A0, A0
  4289. 00002D38  4AA8 005A                tst.l      [A0 + 0x5A]
  4290. 00002D3C  670C                     beq        +0xE /* 00002D4A */
  4291. 00002D3E  206D 8A32                movea.l    A0, [A5 - 0x75CE]
  4292. 00002D42  2F28 005A                move.l     -[A7], [A0 + 0x5A]
  4293. 00002D46  4267                     clr.w      -[A7]
  4294. 00002D48  A963                     syscall    SetControlValue/SetCtlValue
  4295. label00002D4A:
  4296. 00002D4A  206D 8A32                movea.l    A0, [A5 - 0x75CE]
  4297. 00002D4E  0828 0005 006C           btst.b     [A0 + 0x6C], 0x5
  4298. 00002D54  6710                     beq        +0x12 /* 00002D66 */
  4299. 00002D56  4878 0001                push.l     0x1
  4300. 00002D5A  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4301. 00002D5E  4EBA FCE8                jsr        [PC - 0x318 /* 00002A48 */]
  4302. 00002D62  504F                     addq.w     A7, 8
  4303. 00002D64  601E                     bra        +0x20 /* 00002D84 */
  4304. label00002D66:
  4305. 00002D66  0828 0006 006C           btst.b     [A0 + 0x6C], 0x6
  4306. 00002D6C  6716                     beq        +0x18 /* 00002D84 */
  4307. 00002D6E  42A7                     clr.l      -[A7]
  4308. 00002D70  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4309. 00002D74  4EBA FCD2                jsr        [PC - 0x32E /* 00002A48 */]
  4310. 00002D78  2F2D 8A32                move.l     -[A7], [A5 - 0x75CE]
  4311. 00002D7C  4EBA FD70                jsr        [PC - 0x290 /* 00002AEE */]
  4312. 00002D80  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4313. label00002D84:
  4314. 00002D84  4CDF 0408                movem.l    D3,A2, [A7]+
  4315. 00002D88  205F                     movea.l    A0, [A7]+
  4316. 00002D8A  5C4F                     addq.w     A7, 6
  4317. 00002D8C  4ED0                     jmp        [A0]
  4318. fn00002D8E:
  4319. 00002D8E  48E7 1020                movem.l    -[A7], D3,A2
  4320. 00002D92  594F                     subq.w     A7, 4
  4321. 00002D94  246F 0010                movea.l    A2, [A7 + 0x10]
  4322. 00002D98  554F                     subq.w     A7, 2
  4323. 00002D9A  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  4324. 00002D9E  2F2A 00D6                move.l     -[A7], [A2 + 0xD6]
  4325. 00002DA2  486F 000A                pea.l      [A7 + 0xA]
  4326. 00002DA6  A96C                     syscall    FindControl
  4327. 00002DA8  301F                     move.w     D0, [A7]+
  4328. 00002DAA  6700 0094                beq        +0x96 /* 00002E40 */
  4329. 00002DAE  4878 0001                push.l     0x1
  4330. 00002DB2  2F0A                     move.l     -[A7], A2
  4331. 00002DB4  4EBA E926                jsr        [PC - 0x16DA /* 000016DC */]
  4332. 00002DB8  022A 00FB 006C           andi.b     [A2 + 0x6C], 0xFB
  4333. 00002DBE  206F 0008                movea.l    A0, [A7 + 0x8]
  4334. 00002DC2  B1EA 005A                cmpa.l     A0, [A2 + 0x5A]
  4335. 00002DC6  504F                     addq.w     A7, 8
  4336. 00002DC8  6642                     bne        +0x44 /* 00002E0C */
  4337. 00002DCA  022A 00F7 006C           andi.b     [A2 + 0x6C], 0xF7
  4338. 00002DD0  102A 006C                move.b     D0, [A2 + 0x6C]
  4339. 00002DD4  E300                     asl        D0.b, 1
  4340. 00002DD6  EE00                     asr        D0.b, 7
  4341. 00002DD8  4880                     ext.w      D0
  4342. 00002DDA  48C0                     ext.l      D0
  4343. 00002DDC  2600                     move.l     D3, D0
  4344. 00002DDE  670A                     beq        +0xC /* 00002DEA */
  4345. 00002DE0  42A7                     clr.l      -[A7]
  4346. 00002DE2  2F0A                     move.l     -[A7], A2
  4347. 00002DE4  4EBA FC62                jsr        [PC - 0x39E /* 00002A48 */]
  4348. 00002DE8  504F                     addq.w     A7, 8
  4349. label00002DEA:
  4350. 00002DEA  554F                     subq.w     A7, 2
  4351. 00002DEC  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  4352. 00002DF0  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4353. 00002DF4  4878 FFFF                push.l     0xFFFF
  4354. 00002DF8  A968                     syscall    TrackControl
  4355. 00002DFA  301F                     move.w     D0, [A7]+
  4356. 00002DFC  4A83                     tst.l      D3
  4357. 00002DFE  6708                     beq        +0xA /* 00002E08 */
  4358. 00002E00  2F0A                     move.l     -[A7], A2
  4359. 00002E02  4EBA FCEA                jsr        [PC - 0x316 /* 00002AEE */]
  4360. 00002E06  584F                     addq.w     A7, 4
  4361. label00002E08:
  4362. 00002E08  7600                     moveq.l    D3, 0x00
  4363. 00002E0A  601C                     bra        +0x1E /* 00002E28 */
  4364. label00002E0C:
  4365. 00002E0C  2B4A 8A32                move.l     [A5 - 0x75CE], A2
  4366. 00002E10  554F                     subq.w     A7, 2
  4367. 00002E12  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  4368. 00002E16  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4369. 00002E1A  486D E440                pea.l      [A5 - 0x1BC0]
  4370. 00002E1E  A968                     syscall    TrackControl
  4371. 00002E20  301F                     move.w     D0, [A7]+
  4372. 00002E22  3600                     move.w     D3, D0
  4373. 00002E24  42AD 8A32                clr.l      [A5 - 0x75CE]
  4374. label00002E28:
  4375. 00002E28  0C43 000A                cmpi.w     D3, 0xA /* '\n' */
  4376. 00002E2C  6608                     bne        +0xA /* 00002E36 */
  4377. 00002E2E  2F0A                     move.l     -[A7], A2
  4378. 00002E30  4EBA FC7A                jsr        [PC - 0x386 /* 00002AAC */]
  4379. 00002E34  584F                     addq.w     A7, 4
  4380. label00002E36:
  4381. 00002E36  42A7                     clr.l      -[A7]
  4382. 00002E38  2F0A                     move.l     -[A7], A2
  4383. 00002E3A  4EBA E8A0                jsr        [PC - 0x1760 /* 000016DC */]
  4384. 00002E3E  504F                     addq.w     A7, 8
  4385. label00002E40:
  4386. 00002E40  584F                     addq.w     A7, 4
  4387. 00002E42  4CDF 0408                movem.l    D3,A2, [A7]+
  4388. 00002E46  4E75                     rts
  4389. fn00002E48:
  4390. 00002E48  48E7 040A                movem.l    -[A7], D5,A4,A6
  4391. 00002E4C  2C6F 0010                movea.l    A6, [A7 + 0x10]
  4392. 00002E50  2A2F 0014                move.l     D5, [A7 + 0x14]
  4393. 00002E54  342F 0018                move.w     D2, [A7 + 0x18]
  4394. 00002E58  222F 001A                move.l     D1, [A7 + 0x1A]
  4395. 00002E5C  286F 001E                movea.l    A4, [A7 + 0x1E]
  4396. 00002E60  226D 8A3A                movea.l    A1, [A5 - 0x75C6]
  4397. 00002E64  6026                     bra        +0x28 /* 00002E8C */
  4398. label00002E66:
  4399. 00002E66  2051                     movea.l    A0, [A1]
  4400. 00002E68  BDE8 00D6                cmpa.l     A6, [A0 + 0xD6]
  4401. 00002E6C  661C                     bne        +0x1E /* 00002E8A */
  4402. 00002E6E  BAA8 00E6                cmp.l      D5, [A0 + 0xE6]
  4403. 00002E72  6616                     bne        +0x18 /* 00002E8A */
  4404. 00002E74  B468 00E2                cmp.w      D2, [A0 + 0xE2]
  4405. 00002E78  6610                     bne        +0x12 /* 00002E8A */
  4406. 00002E7A  B2A8 00EA                cmp.l      D1, [A0 + 0xEA]
  4407. 00002E7E  660A                     bne        +0xC /* 00002E8A */
  4408. 00002E80  2889                     move.l     [A4], A1
  4409. 00002E82  7001                     moveq.l    D0, 0x01
  4410. 00002E84  4CDF 5020                movem.l    D5,A4,A6, [A7]+
  4411. 00002E88  4E75                     rts
  4412. label00002E8A:
  4413. 00002E8A  2250                     movea.l    A1, [A0]
  4414. label00002E8C:
  4415. 00002E8C  2009                     move.l     D0, A1
  4416. 00002E8E  66D6                     bne        -0x28 /* 00002E66 */
  4417. 00002E90  7000                     moveq.l    D0, 0x00
  4418. 00002E92  4CDF 5020                movem.l    D5,A4,A6, [A7]+
  4419. 00002E96  4E75                     rts
  4420. fn00002E98:
  4421. 00002E98  2F0A                     move.l     -[A7], A2
  4422. 00002E9A  4FEF FF00                lea.l      A7, [A7 - 0x100]
  4423. 00002E9E  246F 0108                movea.l    A2, [A7 + 0x108]
  4424. 00002EA2  4857                     pea.l      [A7]
  4425. 00002EA4  302D 135E                move.w     D0, [A5 + 0x135E]
  4426. 00002EA8  48C0                     ext.l      D0
  4427. 00002EAA  0680 0000 0081           addi.l     D0, 0x81
  4428. 00002EB0  3F00                     move.w     -[A7], D0
  4429. 00002EB2  3F3C 001B                move.w     -[A7], 0x1B
  4430. 00002EB6  4EAD DA4E                jsr        [A5 - 0x25B2]
  4431. 00002EBA  1012                     move.b     D0, [A2]
  4432. 00002EBC  B017                     cmp.b      D0, [A7]
  4433. 00002EBE  640A                     bcc        +0xC /* 00002ECA */
  4434. 00002EC0  7000                     moveq.l    D0, 0x00
  4435. 00002EC2  4FEF 0100                lea.l      A7, [A7 + 0x100]
  4436. 00002EC6  245F                     movea.l    A2, [A7]+
  4437. 00002EC8  4E75                     rts
  4438. label00002ECA:
  4439. 00002ECA  554F                     subq.w     A7, 2
  4440. 00002ECC  7000                     moveq.l    D0, 0x00
  4441. 00002ECE  102F 0002                move.b     D0, [A7 + 0x2]
  4442. 00002ED2  7200                     moveq.l    D1, 0x00
  4443. 00002ED4  1212                     move.b     D1, [A2]
  4444. 00002ED6  204A                     movea.l    A0, A2
  4445. 00002ED8  D0C1                     add.w      A0, D1
  4446. 00002EDA  90C0                     sub.w      A0, D0
  4447. 00002EDC  4868 0001                pea.l      [A0 + 0x1]
  4448. 00002EE0  486F 0007                pea.l      [A7 + 0x7]
  4449. 00002EE4  7000                     moveq.l    D0, 0x00
  4450. 00002EE6  102F 000A                move.b     D0, [A7 + 0xA]
  4451. 00002EEA  3F00                     move.w     -[A7], D0
  4452. 00002EEC  7000                     moveq.l    D0, 0x00
  4453. 00002EEE  102F 000C                move.b     D0, [A7 + 0xC]
  4454. 00002EF2  3F00                     move.w     -[A7], D0
  4455. 00002EF4  3F3C 000C                move.w     -[A7], 0xC
  4456. 00002EF8  A9ED                     syscall    Pack6
  4457. 00002EFA  301F                     move.w     D0, [A7]+
  4458. 00002EFC  662C                     bne        +0x2E /* 00002F2A */
  4459. 00002EFE  7000                     moveq.l    D0, 0x00
  4460. 00002F00  1017                     move.b     D0, [A7]
  4461. 00002F02  7200                     moveq.l    D1, 0x00
  4462. 00002F04  1212                     move.b     D1, [A2]
  4463. 00002F06  9280                     sub.l      D1, D0
  4464. 00002F08  206F 010C                movea.l    A0, [A7 + 0x10C]
  4465. 00002F0C  1081                     move.b     [A0], D1
  4466. 00002F0E  7000                     moveq.l    D0, 0x00
  4467. 00002F10  1001                     move.b     D0, D1
  4468. 00002F12  41EA 0001                lea.l      A0, [A2 + 0x1]
  4469. 00002F16  226F 010C                movea.l    A1, [A7 + 0x10C]
  4470. 00002F1A  43E9 0001                lea.l      A1, [A1 + 0x1]
  4471. 00002F1E  A02E                     syscall    BlockMove/BlockMoveData
  4472. 00002F20  7001                     moveq.l    D0, 0x01
  4473. 00002F22  4FEF 0100                lea.l      A7, [A7 + 0x100]
  4474. 00002F26  245F                     movea.l    A2, [A7]+
  4475. 00002F28  4E75                     rts
  4476. label00002F2A:
  4477. 00002F2A  7000                     moveq.l    D0, 0x00
  4478. 00002F2C  4FEF 0100                lea.l      A7, [A7 + 0x100]
  4479. 00002F30  245F                     movea.l    A2, [A7]+
  4480. 00002F32  4E75                     rts
  4481. 00002F34  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  4482. 00002F38  486D B4E6                pea.l      [A5 - 0x4B1A]
  4483. 00002F3C  486D B4E6                pea.l      [A5 - 0x4B1A]
  4484. 00002F40  486D B4E6                pea.l      [A5 - 0x4B1A]
  4485. 00002F44  A98B                     syscall    ParamText
  4486. 00002F46  594F                     subq.w     A7, 4
  4487. 00002F48  302D 135E                move.w     D0, [A5 + 0x135E]
  4488. 00002F4C  48C0                     ext.l      D0
  4489. 00002F4E  0680 0000 0093           addi.l     D0, 0x93
  4490. 00002F54  3F00                     move.w     -[A7], D0
  4491. 00002F56  42A7                     clr.l      -[A7]
  4492. 00002F58  4878 FFFF                push.l     0xFFFF
  4493. 00002F5C  A97C                     syscall    GetNewDialog
  4494. 00002F5E  205F                     movea.l    A0, [A7]+
  4495. 00002F60  2B48 8A2E                move.l     [A5 - 0x75D2], A0
  4496. 00002F64  2008                     move.l     D0, A0
  4497. 00002F66  6706                     beq        +0x8 /* 00002F6E */
  4498. 00002F68  2F2D 8A2E                move.l     -[A7], [A5 - 0x75D2]
  4499. 00002F6C  A981                     syscall    DrawDialog
  4500. label00002F6E:
  4501. 00002F6E  4E75                     rts
  4502. fn00002F70:
  4503. 00002F70  2F0A                     move.l     -[A7], A2
  4504. 00002F72  246F 0008                movea.l    A2, [A7 + 0x8]
  4505. 00002F76  082A 0006 00F2           btst.b     [A2 + 0xF2], 0x6
  4506. 00002F7C  675E                     beq        +0x60 /* 00002FDC */
  4507. 00002F7E  082A 0005 0028           btst.b     [A2 + 0x28], 0x5
  4508. 00002F84  6700 008E                beq        +0x90 /* 00003014 */
  4509. 00002F88  594F                     subq.w     A7, 4
  4510. 00002F8A  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  4511. 00002F8E  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  4512. 00002F92  4878 0001                push.l     0x1
  4513. 00002F96  2F3C 0006 0009           move.l     -[A7], 0x60009
  4514. 00002F9C  7000                     moveq.l    D0, 0x00
  4515. 00002F9E  A82A                     syscall    ComponentDispatch
  4516. 00002FA0  201F                     move.l     D0, [A7]+
  4517. 00002FA2  594F                     subq.w     A7, 4
  4518. 00002FA4  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  4519. 00002FA8  1F3C 000D                move.b     -[A7], 0xD /* '\r' */
  4520. 00002FAC  42A7                     clr.l      -[A7]
  4521. 00002FAE  2F3C 0006 001B           move.l     -[A7], 0x6001B
  4522. 00002FB4  7000                     moveq.l    D0, 0x00
  4523. 00002FB6  A82A                     syscall    ComponentDispatch
  4524. 00002FB8  201F                     move.l     D0, [A7]+
  4525. 00002FBA  594F                     subq.w     A7, 4
  4526. 00002FBC  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  4527. 00002FC0  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  4528. 00002FC4  4878 0000                push.l     0x0
  4529. 00002FC8  2F3C 0006 0009           move.l     -[A7], 0x60009
  4530. 00002FCE  7000                     moveq.l    D0, 0x00
  4531. 00002FD0  A82A                     syscall    ComponentDispatch
  4532. 00002FD2  201F                     move.l     D0, [A7]+
  4533. 00002FD4  022A 00DF 0028           andi.b     [A2 + 0x28], 0xDF
  4534. 00002FDA  6038                     bra        +0x3A /* 00003014 */
  4535. label00002FDC:
  4536. 00002FDC  082A 0003 00F2           btst.b     [A2 + 0xF2], 0x3
  4537. 00002FE2  6730                     beq        +0x32 /* 00003014 */
  4538. 00002FE4  082A 0001 006C           btst.b     [A2 + 0x6C], 0x1
  4539. 00002FEA  6728                     beq        +0x2A /* 00003014 */
  4540. 00002FEC  4878 0001                push.l     0x1
  4541. 00002FF0  2F0A                     move.l     -[A7], A2
  4542. 00002FF2  4EBA E6E8                jsr        [PC - 0x1918 /* 000016DC */]
  4543. 00002FF6  2F0A                     move.l     -[A7], A2
  4544. 00002FF8  4EBA FAF4                jsr        [PC - 0x50C /* 00002AEE */]
  4545. 00002FFC  022A 00FD 006C           andi.b     [A2 + 0x6C], 0xFD
  4546. 00003002  2F0A                     move.l     -[A7], A2
  4547. 00003004  4EBA FAA6                jsr        [PC - 0x55A /* 00002AAC */]
  4548. 00003008  42A7                     clr.l      -[A7]
  4549. 0000300A  2F0A                     move.l     -[A7], A2
  4550. 0000300C  4EBA E6CE                jsr        [PC - 0x1932 /* 000016DC */]
  4551. 00003010  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4552. label00003014:
  4553. 00003014  245F                     movea.l    A2, [A7]+
  4554. 00003016  4E75                     rts
  4555. fn00003018:
  4556. 00003018  2F0A                     move.l     -[A7], A2
  4557. 0000301A  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  4558. 0000301E  246F 0018                movea.l    A2, [A7 + 0x18]
  4559. 00003022  2F6A 0070 0008           move.l     [A7 + 0x8], [A2 + 0x70]
  4560. 00003028  2F6A 0074 000C           move.l     [A7 + 0xC], [A2 + 0x74]
  4561. 0000302E  4AAA 00C6                tst.l      [A2 + 0xC6]
  4562. 00003032  6710                     beq        +0x12 /* 00003044 */
  4563. 00003034  4857                     pea.l      [A7]
  4564. 00003036  2F0A                     move.l     -[A7], A2
  4565. 00003038  4EBA F222                jsr        [PC - 0xDDE /* 0000225C */]
  4566. 0000303C  3F6F 0008 0014           move.w     [A7 + 0x14], [A7 + 0x8]
  4567. 00003042  504F                     addq.w     A7, 8
  4568. label00003044:
  4569. 00003044  486F 0008                pea.l      [A7 + 0x8]
  4570. 00003048  486D 15D8                pea.l      [A5 + 0x15D8]
  4571. 0000304C  A8A5                     syscall    FillRect
  4572. 0000304E  486F 0008                pea.l      [A7 + 0x8]
  4573. 00003052  A8A1                     syscall    FrameRect
  4574. 00003054  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4575. 00003058  245F                     movea.l    A2, [A7]+
  4576. 0000305A  4E75                     rts
  4577. fn0000305C:
  4578. 0000305C  48E7 0030                movem.l    -[A7], A2,A3
  4579. 00003060  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  4580. 00003064  266F 001C                movea.l    A3, [A7 + 0x1C]
  4581. 00003068  2F6B 0070 0008           move.l     [A7 + 0x8], [A3 + 0x70]
  4582. 0000306E  2F6B 0074 000C           move.l     [A7 + 0xC], [A3 + 0x74]
  4583. 00003074  4AAB 00C6                tst.l      [A3 + 0xC6]
  4584. 00003078  6710                     beq        +0x12 /* 0000308A */
  4585. 0000307A  4857                     pea.l      [A7]
  4586. 0000307C  2F0B                     move.l     -[A7], A3
  4587. 0000307E  4EBA F1DC                jsr        [PC - 0xE24 /* 0000225C */]
  4588. 00003082  3F6F 0008 0014           move.w     [A7 + 0x14], [A7 + 0x8]
  4589. 00003088  504F                     addq.w     A7, 8
  4590. label0000308A:
  4591. 0000308A  594F                     subq.w     A7, 4
  4592. 0000308C  2F2B 0020                move.l     -[A7], [A3 + 0x20]
  4593. 00003090  303C 00F7                move.w     D0, 0xF7
  4594. 00003094  AAAA                     syscall    QuickTimeDispatch
  4595. 00003096  205F                     movea.l    A0, [A7]+
  4596. 00003098  2448                     movea.l    A2, A0
  4597. 0000309A  200A                     move.l     D0, A2
  4598. 0000309C  6714                     beq        +0x16 /* 000030B2 */
  4599. 0000309E  42A7                     clr.l      -[A7]
  4600. 000030A0  486F 000C                pea.l      [A7 + 0xC]
  4601. 000030A4  2F0A                     move.l     -[A7], A2
  4602. 000030A6  4EBA EFEE                jsr        [PC - 0x1012 /* 00002096 */]
  4603. 000030AA  2F0A                     move.l     -[A7], A2
  4604. 000030AC  A8F5                     syscall    KillPicture
  4605. 000030AE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4606. label000030B2:
  4607. 000030B2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4608. 000030B6  4CDF 0C00                movem.l    A2,A3, [A7]+
  4609. 000030BA  4E75                     rts
  4610. 000030BC  4EBA 00EC                jsr        [PC + 0xEC /* 000031AA */]
  4611. 000030C0  5500                     subq.b     D0, 2
  4612. 000030C2  57C0                     seq        D0
  4613. 000030C4  4400                     neg.b      D0
  4614. 000030C6  4880                     ext.w      D0
  4615. 000030C8  48C0                     ext.l      D0
  4616. 000030CA  4E75                     rts
  4617. 000030CC  48E7 0030                movem.l    -[A7], A2,A3
  4618. 000030D0  266F 000C                movea.l    A3, [A7 + 0xC]
  4619. 000030D4  246F 0010                movea.l    A2, [A7 + 0x10]
  4620. 000030D8  4EBA 00D0                jsr        [PC + 0xD0 /* 000031AA */]
  4621. 000030DC  5300                     subq.b     D0, 1
  4622. 000030DE  6610                     bne        +0x12 /* 000030F0 */
  4623. 000030E0  2F0A                     move.l     -[A7], A2
  4624. 000030E2  2F0B                     move.l     -[A7], A3
  4625. 000030E4  4EAD DE10                jsr        [A5 - 0x21F0]
  4626. 000030E8  504F                     addq.w     A7, 8
  4627. 000030EA  4CDF 0C00                movem.l    A2,A3, [A7]+
  4628. 000030EE  4E75                     rts
  4629. label000030F0:
  4630. 000030F0  204A                     movea.l    A0, A2
  4631. 000030F2  70FF                     moveq.l    D0, 0xFFFFFFFF
  4632. label000030F4:
  4633. 000030F4  5280                     addq.l     D0, 1
  4634. 000030F6  4A18                     tst.b      [A0]+
  4635. 000030F8  66FA                     bne        -0x4 /* 000030F4 */
  4636. 000030FA  2F00                     move.l     -[A7], D0
  4637. 000030FC  204B                     movea.l    A0, A3
  4638. 000030FE  70FF                     moveq.l    D0, 0xFFFFFFFF
  4639. label00003100:
  4640. 00003100  5280                     addq.l     D0, 1
  4641. 00003102  4A18                     tst.b      [A0]+
  4642. 00003104  66FA                     bne        -0x4 /* 00003100 */
  4643. 00003106  2F00                     move.l     -[A7], D0
  4644. 00003108  2F0A                     move.l     -[A7], A2
  4645. 0000310A  2F0B                     move.l     -[A7], A3
  4646. 0000310C  4EBA 004E                jsr        [PC + 0x4E /* 0000315C */]
  4647. 00003110  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4648. 00003114  4CDF 0C00                movem.l    A2,A3, [A7]+
  4649. 00003118  4E75                     rts
  4650. fn0000311A:
  4651. 0000311A  48E7 1030                movem.l    -[A7], D3,A2,A3
  4652. 0000311E  266F 0010                movea.l    A3, [A7 + 0x10]
  4653. 00003122  246F 0014                movea.l    A2, [A7 + 0x14]
  4654. 00003126  262F 0018                move.l     D3, [A7 + 0x18]
  4655. 0000312A  4EBA 007E                jsr        [PC + 0x7E /* 000031AA */]
  4656. 0000312E  5300                     subq.b     D0, 1
  4657. 00003130  6614                     bne        +0x16 /* 00003146 */
  4658. 00003132  2F03                     move.l     -[A7], D3
  4659. 00003134  2F0A                     move.l     -[A7], A2
  4660. 00003136  2F0B                     move.l     -[A7], A3
  4661. 00003138  4EAD DE08                jsr        [A5 - 0x21F8]
  4662. 0000313C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4663. 00003140  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4664. 00003144  4E75                     rts
  4665. label00003146:
  4666. 00003146  2F03                     move.l     -[A7], D3
  4667. 00003148  2F03                     move.l     -[A7], D3
  4668. 0000314A  2F0A                     move.l     -[A7], A2
  4669. 0000314C  2F0B                     move.l     -[A7], A3
  4670. 0000314E  4EBA 000C                jsr        [PC + 0xC /* 0000315C */]
  4671. 00003152  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4672. 00003156  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4673. 0000315A  4E75                     rts
  4674. fn0000315C:
  4675. 0000315C  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  4676. 00003160  266F 0014                movea.l    A3, [A7 + 0x14]
  4677. 00003164  246F 0018                movea.l    A2, [A7 + 0x18]
  4678. 00003168  282F 001C                move.l     D4, [A7 + 0x1C]
  4679. 0000316C  262F 0020                move.l     D3, [A7 + 0x20]
  4680. 00003170  B883                     cmp.l      D4, D3
  4681. 00003172  6614                     bne        +0x16 /* 00003188 */
  4682. 00003174  554F                     subq.w     A7, 2
  4683. 00003176  2F0B                     move.l     -[A7], A3
  4684. 00003178  2F0A                     move.l     -[A7], A2
  4685. 0000317A  3F04                     move.w     -[A7], D4
  4686. 0000317C  3F03                     move.w     -[A7], D3
  4687. 0000317E  3F3C 000C                move.w     -[A7], 0xC
  4688. 00003182  A9ED                     syscall    Pack6
  4689. 00003184  301F                     move.w     D0, [A7]+
  4690. 00003186  671A                     beq        +0x1C /* 000031A2 */
  4691. label00003188:
  4692. 00003188  554F                     subq.w     A7, 2
  4693. 0000318A  2F0B                     move.l     -[A7], A3
  4694. 0000318C  2F0A                     move.l     -[A7], A2
  4695. 0000318E  3F04                     move.w     -[A7], D4
  4696. 00003190  3F03                     move.w     -[A7], D3
  4697. 00003192  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  4698. 00003196  A9ED                     syscall    Pack6
  4699. 00003198  301F                     move.w     D0, [A7]+
  4700. 0000319A  48C0                     ext.l      D0
  4701. 0000319C  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4702. 000031A0  4E75                     rts
  4703. label000031A2:
  4704. 000031A2  7000                     moveq.l    D0, 0x00
  4705. 000031A4  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4706. 000031A8  4E75                     rts
  4707. fn000031AA:
  4708. 000031AA  4A2D 8A3E                tst.b      [A5 - 0x75C2]
  4709. 000031AE  660A                     bne        +0xC /* 000031BA */
  4710. 000031B0  1B7C 0001 8A3E           move.b     [A5 - 0x75C2], 0x1
  4711. 000031B6  422D 8A3F                clr.b      [A5 - 0x75C1]
  4712. label000031BA:
  4713. 000031BA  4A2D 8A3F                tst.b      [A5 - 0x75C1]
  4714. 000031BE  6622                     bne        +0x24 /* 000031E2 */
  4715. 000031C0  594F                     subq.w     A7, 4
  4716. 000031C2  2F3C 001C FFFF           move.l     -[A7], 0x1CFFFF
  4717. 000031C8  2F3C 8404 000C           move.l     -[A7], 0x8404000C
  4718. 000031CE  A8B5                     syscall    ScriptUtil
  4719. 000031D0  201F                     move.l     D0, [A7]+
  4720. 000031D2  6608                     bne        +0xA /* 000031DC */
  4721. 000031D4  1B7C 0001 8A3F           move.b     [A5 - 0x75C1], 0x1
  4722. 000031DA  6006                     bra        +0x8 /* 000031E2 */
  4723. label000031DC:
  4724. 000031DC  1B7C 0002 8A3F           move.b     [A5 - 0x75C1], 0x2
  4725. label000031E2:
  4726. 000031E2  102D 8A3F                move.b     D0, [A5 - 0x75C1]
  4727. 000031E6  4E75                     rts
  4728. 000031E8  594F                     subq.w     A7, 4
  4729. 000031EA  7001                     moveq.l    D0, 0x01
  4730. 000031EC  2B40 8A40                move.l     [A5 - 0x75C0], D0
  4731. 000031F0  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  4732. 000031F4  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  4733. 000031F8  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  4734. 000031FC  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  4735. 00003200  4EBA 0014                jsr        [PC + 0x14 /* 00003216 */]
  4736. 00003204  2F40 000E                move.l     [A7 + 0xE], D0
  4737. 00003208  42AD 8A40                clr.l      [A5 - 0x75C0]
  4738. 0000320C  202F 000E                move.l     D0, [A7 + 0xE]
  4739. 00003210  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4740. 00003214  4E75                     rts
  4741. fn00003216:
  4742. 00003216  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  4743. 0000321A  594F                     subq.w     A7, 4
  4744. 0000321C  3C2F 002C                move.w     D6, [A7 + 0x2C]
  4745. 00003220  266F 0032                movea.l    A3, [A7 + 0x32]
  4746. 00003224  2C6F 0036                movea.l    A6, [A7 + 0x36]
  4747. 00003228  42AD 8A48                clr.l      [A5 - 0x75B8]
  4748. 0000322C  4857                     pea.l      [A7]
  4749. 0000322E  1F2F 0035                move.b     -[A7], [A7 + 0x35]
  4750. 00003232  3F06                     move.w     -[A7], D6
  4751. 00003234  4EAD E180                jsr        [A5 - 0x1E80]
  4752. 00003238  2848                     movea.l    A4, A0
  4753. 0000323A  200C                     move.l     D0, A4
  4754. 0000323C  504F                     addq.w     A7, 8
  4755. 0000323E  660A                     bne        +0xC /* 0000324A */
  4756. 00003240  70FF                     moveq.l    D0, 0xFFFFFFFF
  4757. 00003242  584F                     addq.w     A7, 4
  4758. 00003244  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4759. 00003248  4E75                     rts
  4760. label0000324A:
  4761. 0000324A  594F                     subq.w     A7, 4
  4762. 0000324C  2F0B                     move.l     -[A7], A3
  4763. 0000324E  4EAD D9AC                jsr        [A5 - 0x2654]
  4764. 00003252  201F                     move.l     D0, [A7]+
  4765. 00003254  2800                     move.l     D4, D0
  4766. 00003256  2454                     movea.l    A2, [A4]
  4767. 00003258  0C92 8765 4321           cmpi.l     [A2], 0x87654321
  4768. 0000325E  670A                     beq        +0xC /* 0000326A */
  4769. 00003260  70FF                     moveq.l    D0, 0xFFFFFFFF
  4770. 00003262  584F                     addq.w     A7, 4
  4771. 00003264  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4772. 00003268  4E75                     rts
  4773. label0000326A:
  4774. 0000326A  204B                     movea.l    A0, A3
  4775. 0000326C  A029                     syscall    HLock
  4776. 0000326E  2A2A 0008                move.l     D5, [A2 + 0x8]
  4777. 00003272  2E2A 0004                move.l     D7, [A2 + 0x4]
  4778. 00003276  2F07                     move.l     -[A7], D7
  4779. 00003278  2F05                     move.l     -[A7], D5
  4780. 0000327A  2F04                     move.l     -[A7], D4
  4781. 0000327C  2F0B                     move.l     -[A7], A3
  4782. 0000327E  3F06                     move.w     -[A7], D6
  4783. 00003280  4EBA 0074                jsr        [PC + 0x74 /* 000032F6 */]
  4784. 00003284  2600                     move.l     D3, D0
  4785. 00003286  204B                     movea.l    A0, A3
  4786. 00003288  A02A                     syscall    HUnlock
  4787. 0000328A  4A83                     tst.l      D3
  4788. 0000328C  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4789. 00003290  6C0A                     bge        +0xC /* 0000329C */
  4790. 00003292  70FF                     moveq.l    D0, 0xFFFFFFFF
  4791. 00003294  584F                     addq.w     A7, 4
  4792. 00003296  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4793. 0000329A  4E75                     rts
  4794. label0000329C:
  4795. 0000329C  200E                     move.l     D0, A6
  4796. 0000329E  674C                     beq        +0x4E /* 000032EC */
  4797. 000032A0  206D 8A48                movea.l    A0, [A5 - 0x75B8]
  4798. 000032A4  A04A                     syscall    HNoPurge
  4799. 000032A6  7800                     moveq.l    D4, 0x00
  4800. 000032A8  B685                     cmp.l      D3, D5
  4801. 000032AA  6F14                     ble        +0x16 /* 000032C0 */
  4802. 000032AC  2003                     move.l     D0, D3
  4803. 000032AE  5380                     subq.l     D0, 1
  4804. 000032B0  2F00                     move.l     -[A7], D0
  4805. 000032B2  3F06                     move.w     -[A7], D6
  4806. 000032B4  4EBA 017E                jsr        [PC + 0x17E /* 00003434 */]
  4807. 000032B8  4A80                     tst.l      D0
  4808. 000032BA  5C4F                     addq.w     A7, 6
  4809. 000032BC  6702                     beq        +0x4 /* 000032C0 */
  4810. 000032BE  7801                     moveq.l    D4, 0x01
  4811. label000032C0:
  4812. 000032C0  4A84                     tst.l      D4
  4813. 000032C2  6620                     bne        +0x22 /* 000032E4 */
  4814. 000032C4  2005                     move.l     D0, D5
  4815. 000032C6  D087                     add.l      D0, D7
  4816. 000032C8  2203                     move.l     D1, D3
  4817. 000032CA  5281                     addq.l     D1, 1
  4818. 000032CC  B280                     cmp.l      D1, D0
  4819. 000032CE  6C14                     bge        +0x16 /* 000032E4 */
  4820. 000032D0  2003                     move.l     D0, D3
  4821. 000032D2  5280                     addq.l     D0, 1
  4822. 000032D4  2F00                     move.l     -[A7], D0
  4823. 000032D6  3F06                     move.w     -[A7], D6
  4824. 000032D8  4EBA 015A                jsr        [PC + 0x15A /* 00003434 */]
  4825. 000032DC  4A80                     tst.l      D0
  4826. 000032DE  5C4F                     addq.w     A7, 6
  4827. 000032E0  6702                     beq        +0x4 /* 000032E4 */
  4828. 000032E2  7801                     moveq.l    D4, 0x01
  4829. label000032E4:
  4830. 000032E4  2C84                     move.l     [A6], D4
  4831. 000032E6  206D 8A48                movea.l    A0, [A5 - 0x75B8]
  4832. 000032EA  A049                     syscall    HPurge
  4833. label000032EC:
  4834. 000032EC  2003                     move.l     D0, D3
  4835. 000032EE  584F                     addq.w     A7, 4
  4836. 000032F0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4837. 000032F4  4E75                     rts
  4838. fn000032F6:
  4839. 000032F6  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  4840. 000032FA  2C6F 0032                movea.l    A6, [A7 + 0x32]
  4841. 000032FE  2E2F 0036                move.l     D7, [A7 + 0x36]
  4842. 00003302  95CA                     sub.l      A2, A2
  4843. 00003304  7800                     moveq.l    D4, 0x00
  4844. 00003306  70FF                     moveq.l    D0, 0xFFFFFFFF
  4845. 00003308  2640                     movea.l    A3, D0
  4846. 0000330A  604A                     bra        +0x4C /* 00003356 */
  4847. label0000330C:
  4848. 0000330C  2604                     move.l     D3, D4
  4849. 0000330E  D687                     add.l      D3, D7
  4850. 00003310  5383                     subq.l     D3, 1
  4851. 00003312  E28B                     lsr        D3, 1
  4852. 00003314  2A03                     move.l     D5, D3
  4853. 00003316  DA8E                     add.l      D5, A6
  4854. 00003318  2F05                     move.l     -[A7], D5
  4855. 0000331A  3F2F 002C                move.w     -[A7], [A7 + 0x2C]
  4856. 0000331E  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  4857. 00003322  2F2F 0034                move.l     -[A7], [A7 + 0x34]
  4858. 00003326  4EBA 004C                jsr        [PC + 0x4C /* 00003374 */]
  4859. 0000332A  2C00                     move.l     D6, D0
  4860. 0000332C  4A86                     tst.l      D6
  4861. 0000332E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4862. 00003332  6616                     bne        +0x18 /* 0000334A */
  4863. 00003334  200A                     move.l     D0, A2
  4864. 00003336  6704                     beq        +0x6 /* 0000333C */
  4865. 00003338  204A                     movea.l    A0, A2
  4866. 0000333A  A049                     syscall    HPurge
  4867. label0000333C:
  4868. 0000333C  246D 8A48                movea.l    A2, [A5 - 0x75B8]
  4869. 00003340  204A                     movea.l    A0, A2
  4870. 00003342  A04A                     syscall    HNoPurge
  4871. 00003344  286D 8A44                movea.l    A4, [A5 - 0x75BC]
  4872. 00003348  2645                     movea.l    A3, D5
  4873. label0000334A:
  4874. 0000334A  4A86                     tst.l      D6
  4875. 0000334C  6E04                     bgt        +0x6 /* 00003352 */
  4876. 0000334E  2E03                     move.l     D7, D3
  4877. 00003350  6004                     bra        +0x6 /* 00003356 */
  4878. label00003352:
  4879. 00003352  2803                     move.l     D4, D3
  4880. 00003354  5284                     addq.l     D4, 1
  4881. label00003356:
  4882. 00003356  B887                     cmp.l      D4, D7
  4883. 00003358  65B2                     bcs        -0x4C /* 0000330C */
  4884. 0000335A  200A                     move.l     D0, A2
  4885. 0000335C  670E                     beq        +0x10 /* 0000336C */
  4886. 0000335E  2B4A 8A48                move.l     [A5 - 0x75B8], A2
  4887. 00003362  206D 8A48                movea.l    A0, [A5 - 0x75B8]
  4888. 00003366  A049                     syscall    HPurge
  4889. 00003368  2B4C 8A44                move.l     [A5 - 0x75BC], A4
  4890. label0000336C:
  4891. 0000336C  200B                     move.l     D0, A3
  4892. 0000336E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4893. 00003372  4E75                     rts
  4894. fn00003374:
  4895. 00003374  48E7 1820                movem.l    -[A7], D3,D4,A2
  4896. 00003378  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4897. 0000337C  3F2F 001C                move.w     -[A7], [A7 + 0x1C]
  4898. 00003380  4EAD E188                jsr        [A5 - 0x1E78]
  4899. 00003384  2B48 8A48                move.l     [A5 - 0x75B8], A0
  4900. 00003388  4AAD 8A48                tst.l      [A5 - 0x75B8]
  4901. 0000338C  5C4F                     addq.w     A7, 6
  4902. 0000338E  6608                     bne        +0xA /* 00003398 */
  4903. 00003390  70FF                     moveq.l    D0, 0xFFFFFFFF
  4904. 00003392  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4905. 00003396  4E75                     rts
  4906. label00003398:
  4907. 00003398  206D 8A48                movea.l    A0, [A5 - 0x75B8]
  4908. 0000339C  A029                     syscall    HLock
  4909. 0000339E  246D 8A48                movea.l    A2, [A5 - 0x75B8]
  4910. 000033A2  2452                     movea.l    A2, [A2]
  4911. 000033A4  508A                     addq.l     A2, 8
  4912. 000033A6  204A                     movea.l    A0, A2
  4913. 000033A8  70FF                     moveq.l    D0, 0xFFFFFFFF
  4914. label000033AA:
  4915. 000033AA  5280                     addq.l     D0, 1
  4916. 000033AC  4A18                     tst.b      [A0]+
  4917. 000033AE  66FA                     bne        -0x4 /* 000033AA */
  4918. 000033B0  2B40 8A44                move.l     [A5 - 0x75BC], D0
  4919. 000033B4  202F 0014                move.l     D0, [A7 + 0x14]
  4920. 000033B8  B0AD 8A44                cmp.l      D0, [A5 - 0x75BC]
  4921. 000033BC  6E06                     bgt        +0x8 /* 000033C4 */
  4922. 000033BE  41EF 0014                lea.l      A0, [A7 + 0x14]
  4923. 000033C2  6004                     bra        +0x6 /* 000033C8 */
  4924. label000033C4:
  4925. 000033C4  41ED 8A44                lea.l      A0, [A5 - 0x75BC]
  4926. label000033C8:
  4927. 000033C8  2810                     move.l     D4, [A0]
  4928. 000033CA  2F04                     move.l     -[A7], D4
  4929. 000033CC  2F0A                     move.l     -[A7], A2
  4930. 000033CE  206F 0018                movea.l    A0, [A7 + 0x18]
  4931. 000033D2  2F10                     move.l     -[A7], [A0]
  4932. 000033D4  4EBA FD44                jsr        [PC - 0x2BC /* 0000311A */]
  4933. 000033D8  2600                     move.l     D3, D0
  4934. 000033DA  206D 8A48                movea.l    A0, [A5 - 0x75B8]
  4935. 000033DE  A02A                     syscall    HUnlock
  4936. 000033E0  4A83                     tst.l      D3
  4937. 000033E2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4938. 000033E6  6644                     bne        +0x46 /* 0000342C */
  4939. 000033E8  4AAD 8A40                tst.l      [A5 - 0x75C0]
  4940. 000033EC  6728                     beq        +0x2A /* 00003416 */
  4941. 000033EE  202F 0014                move.l     D0, [A7 + 0x14]
  4942. 000033F2  B0AD 8A44                cmp.l      D0, [A5 - 0x75BC]
  4943. 000033F6  6608                     bne        +0xA /* 00003400 */
  4944. 000033F8  7000                     moveq.l    D0, 0x00
  4945. 000033FA  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4946. 000033FE  4E75                     rts
  4947. label00003400:
  4948. 00003400  202F 0014                move.l     D0, [A7 + 0x14]
  4949. 00003404  B0AD 8A44                cmp.l      D0, [A5 - 0x75BC]
  4950. 00003408  6E04                     bgt        +0x6 /* 0000340E */
  4951. 0000340A  70FF                     moveq.l    D0, 0xFFFFFFFF
  4952. 0000340C  6002                     bra        +0x4 /* 00003410 */
  4953. label0000340E:
  4954. 0000340E  7001                     moveq.l    D0, 0x01
  4955. label00003410:
  4956. 00003410  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4957. 00003414  4E75                     rts
  4958. label00003416:
  4959. 00003416  202F 0014                move.l     D0, [A7 + 0x14]
  4960. 0000341A  B0AD 8A44                cmp.l      D0, [A5 - 0x75BC]
  4961. 0000341E  6E04                     bgt        +0x6 /* 00003424 */
  4962. 00003420  2003                     move.l     D0, D3
  4963. 00003422  6002                     bra        +0x4 /* 00003426 */
  4964. label00003424:
  4965. 00003424  7001                     moveq.l    D0, 0x01
  4966. label00003426:
  4967. 00003426  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4968. 0000342A  4E75                     rts
  4969. label0000342C:
  4970. 0000342C  2003                     move.l     D0, D3
  4971. 0000342E  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4972. 00003432  4E75                     rts
  4973. fn00003434:
  4974. 00003434  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  4975. 00003438  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  4976. 0000343C  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  4977. 00003440  4EAD E188                jsr        [A5 - 0x1E78]
  4978. 00003444  2448                     movea.l    A2, A0
  4979. 00003446  200A                     move.l     D0, A2
  4980. 00003448  5C4F                     addq.w     A7, 6
  4981. 0000344A  6608                     bne        +0xA /* 00003454 */
  4982. 0000344C  7000                     moveq.l    D0, 0x00
  4983. 0000344E  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4984. 00003452  4E75                     rts
  4985. label00003454:
  4986. 00003454  2652                     movea.l    A3, [A2]
  4987. 00003456  508B                     addq.l     A3, 8
  4988. 00003458  204B                     movea.l    A0, A3
  4989. 0000345A  70FF                     moveq.l    D0, 0xFFFFFFFF
  4990. label0000345C:
  4991. 0000345C  5280                     addq.l     D0, 1
  4992. 0000345E  4A18                     tst.b      [A0]+
  4993. 00003460  66FA                     bne        -0x4 /* 0000345C */
  4994. 00003462  2600                     move.l     D3, D0
  4995. 00003464  7800                     moveq.l    D4, 0x00
  4996. 00003466  B6AD 8A44                cmp.l      D3, [A5 - 0x75BC]
  4997. 0000346A  662E                     bne        +0x30 /* 0000349A */
  4998. 0000346C  206D 8A48                movea.l    A0, [A5 - 0x75B8]
  4999. 00003470  A029                     syscall    HLock
  5000. 00003472  2F03                     move.l     -[A7], D3
  5001. 00003474  206D 8A48                movea.l    A0, [A5 - 0x75B8]
  5002. 00003478  2050                     movea.l    A0, [A0]
  5003. 0000347A  4868 0008                pea.l      [A0 + 0x8]
  5004. 0000347E  2F0B                     move.l     -[A7], A3
  5005. 00003480  4EBA FC98                jsr        [PC - 0x368 /* 0000311A */]
  5006. 00003484  4A80                     tst.l      D0
  5007. 00003486  57C0                     seq        D0
  5008. 00003488  4400                     neg.b      D0
  5009. 0000348A  4880                     ext.w      D0
  5010. 0000348C  48C0                     ext.l      D0
  5011. 0000348E  2800                     move.l     D4, D0
  5012. 00003490  206D 8A48                movea.l    A0, [A5 - 0x75B8]
  5013. 00003494  A02A                     syscall    HUnlock
  5014. 00003496  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5015. label0000349A:
  5016. 0000349A  2004                     move.l     D0, D4
  5017. 0000349C  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  5018. 000034A0  4E75                     rts
  5019. fn000034A2:
  5020. 000034A2  48E7 1030                movem.l    -[A7], D3,A2,A3
  5021. 000034A6  4FEF FD00                lea.l      A7, [A7 - 0x300]
  5022. 000034AA  266F 0310                movea.l    A3, [A7 + 0x310]
  5023. 000034AE  246F 031A                movea.l    A2, [A7 + 0x31A]
  5024. 000034B2  204B                     movea.l    A0, A3
  5025. 000034B4  70FF                     moveq.l    D0, 0xFFFFFFFF
  5026. label000034B6:
  5027. 000034B6  5280                     addq.l     D0, 1
  5028. 000034B8  4A18                     tst.b      [A0]+
  5029. 000034BA  66FA                     bne        -0x4 /* 000034B6 */
  5030. 000034BC  2600                     move.l     D3, D0
  5031. 000034BE  0C83 0000 00FF           cmpi.l     D3, 0xFF
  5032. 000034C4  6F06                     ble        +0x8 /* 000034CC */
  5033. 000034C6  263C 0000 00FF           move.l     D3, 0xFF
  5034. label000034CC:
  5035. 000034CC  422F 0200                clr.b      [A7 + 0x200]
  5036. 000034D0  2F03                     move.l     -[A7], D3
  5037. 000034D2  2F0B                     move.l     -[A7], A3
  5038. 000034D4  486F 0208                pea.l      [A7 + 0x208]
  5039. 000034D8  4EAD D964                jsr        [A5 - 0x269C]
  5040. 000034DC  486F 010C                pea.l      [A7 + 0x10C]
  5041. 000034E0  486F 0010                pea.l      [A7 + 0x10]
  5042. 000034E4  486F 0214                pea.l      [A7 + 0x214]
  5043. 000034E8  4EAD F178                jsr        [A5 - 0xE88]
  5044. 000034EC  486F 0118                pea.l      [A7 + 0x118]
  5045. 000034F0  486A 0006                pea.l      [A2 + 0x6]
  5046. 000034F4  4EAD DDC0                jsr        [A5 - 0x2240]
  5047. 000034F8  34AF 0334                move.w     [A2], [A7 + 0x334]
  5048. 000034FC  256F 0336 0002           move.l     [A2 + 0x2], [A7 + 0x336]
  5049. 00003502  42A7                     clr.l      -[A7]
  5050. 00003504  2F0A                     move.l     -[A7], A2
  5051. 00003506  4EBA CB00                jsr        [PC - 0x3500 /* 00000008 */]
  5052. 0000350A  4FEF 0328                lea.l      A7, [A7 + 0x328]
  5053. 0000350E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5054. 00003512  4E75                     rts
  5055. fn00003514:
  5056. 00003514  48E7 1020                movem.l    -[A7], D3,A2
  5057. 00003518  4FEF FEFC                lea.l      A7, [A7 - 0x104]
  5058. 0000351C  4227                     clr.b      -[A7]
  5059. 0000351E  A99B                     syscall    SetResLoad
  5060. 00003520  594F                     subq.w     A7, 4
  5061. 00003522  2F3C 736E 6420           move.l     -[A7], 0x736E6420 /* 'snd ' */
  5062. 00003528  3F3C 0001                move.w     -[A7], 0x1
  5063. 0000352C  A80E                     syscall    Get1IndResource/Get1IxResource
  5064. 0000352E  205F                     movea.l    A0, [A7]+
  5065. 00003530  2448                     movea.l    A2, A0
  5066. 00003532  554F                     subq.w     A7, 2
  5067. 00003534  A9AF                     syscall    ResError
  5068. 00003536  301F                     move.w     D0, [A7]+
  5069. 00003538  3600                     move.w     D3, D0
  5070. 0000353A  1F3C 0001                move.b     -[A7], 0x1
  5071. 0000353E  A99B                     syscall    SetResLoad
  5072. 00003540  4A43                     tst.w      D3
  5073. 00003542  670C                     beq        +0xE /* 00003550 */
  5074. 00003544  3003                     move.w     D0, D3
  5075. 00003546  4FEF 0104                lea.l      A7, [A7 + 0x104]
  5076. 0000354A  4CDF 0408                movem.l    D3,A2, [A7]+
  5077. 0000354E  4E75                     rts
  5078. label00003550:
  5079. 00003550  200A                     move.l     D0, A2
  5080. 00003552  660C                     bne        +0xE /* 00003560 */
  5081. 00003554  7094                     moveq.l    D0, 0xFFFFFF94
  5082. 00003556  4FEF 0104                lea.l      A7, [A7 + 0x104]
  5083. 0000355A  4CDF 0408                movem.l    D3,A2, [A7]+
  5084. 0000355E  4E75                     rts
  5085. label00003560:
  5086. 00003560  2F0A                     move.l     -[A7], A2
  5087. 00003562  2F2F 0114                move.l     -[A7], [A7 + 0x114]
  5088. 00003566  486F 0008                pea.l      [A7 + 0x8]
  5089. 0000356A  486F 0010                pea.l      [A7 + 0x10]
  5090. 0000356E  A9A8                     syscall    GetResInfo
  5091. 00003570  554F                     subq.w     A7, 2
  5092. 00003572  A9AF                     syscall    ResError
  5093. 00003574  301F                     move.w     D0, [A7]+
  5094. 00003576  4FEF 0104                lea.l      A7, [A7 + 0x104]
  5095. 0000357A  4CDF 0408                movem.l    D3,A2, [A7]+
  5096. 0000357E  4E75                     rts
  5097. 00003580  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  5098. 00003584  266F 0024                movea.l    A3, [A7 + 0x24]
  5099. 00003588  2E2F 0028                move.l     D7, [A7 + 0x28]
  5100. 0000358C  4AAD 8A58                tst.l      [A5 - 0x75A8]
  5101. 00003590  671A                     beq        +0x1C /* 000035AC */
  5102. 00003592  594F                     subq.w     A7, 4
  5103. 00003594  2F2D 8A58                move.l     -[A7], [A5 - 0x75A8]
  5104. 00003598  4EAD D9AC                jsr        [A5 - 0x2654]
  5105. 0000359C  201F                     move.l     D0, [A7]+
  5106. 0000359E  720C                     moveq.l    D1, 0x0C
  5107. 000035A0  4EAD D8FE                jsr        [A5 - 0x2702]
  5108. 000035A4  2A00                     move.l     D5, D0
  5109. 000035A6  2840                     movea.l    A4, D0
  5110. 000035A8  4A80                     tst.l      D0
  5111. 000035AA  6606                     bne        +0x8 /* 000035B2 */
  5112. label000035AC:
  5113. 000035AC  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5114. 000035B0  4E75                     rts
  5115. label000035B2:
  5116. 000035B2  2F2D 8A58                move.l     -[A7], [A5 - 0x75A8]
  5117. 000035B6  4EAD DD80                jsr        [A5 - 0x2280]
  5118. 000035BA  2448                     movea.l    A2, A0
  5119. 000035BC  7600                     moveq.l    D3, 0x00
  5120. 000035BE  584F                     addq.w     A7, 4
  5121. 000035C0  6064                     bra        +0x66 /* 00003626 */
  5122. label000035C2:
  5123. 000035C2  7C00                     moveq.l    D6, 0x00
  5124. 000035C4  7000                     moveq.l    D0, 0x00
  5125. 000035C6  102A 000A                move.b     D0, [A2 + 0xA]
  5126. 000035CA  6702                     beq        +0x4 /* 000035CE */
  5127. 000035CC  6030                     bra        +0x32 /* 000035FE */
  5128. label000035CE:
  5129. 000035CE  7800                     moveq.l    D4, 0x00
  5130. 000035D0  4A87                     tst.l      D7
  5131. 000035D2  670A                     beq        +0xC /* 000035DE */
  5132. 000035D4  200B                     move.l     D0, A3
  5133. 000035D6  6704                     beq        +0x6 /* 000035DC */
  5134. 000035D8  B7D2                     cmpa.l     A3, [A2]
  5135. 000035DA  6602                     bne        +0x4 /* 000035DE */
  5136. label000035DC:
  5137. 000035DC  7801                     moveq.l    D4, 0x01
  5138. label000035DE:
  5139. 000035DE  3F2A 0004                move.w     -[A7], [A2 + 0x4]
  5140. 000035E2  4EBA 099E                jsr        [PC + 0x99E /* 00003F82 */]
  5141. 000035E6  0C40 0064                cmpi.w     D0, 0x64 /* 'd' */
  5142. 000035EA  544F                     addq.w     A7, 2
  5143. 000035EC  6602                     bne        +0x4 /* 000035F0 */
  5144. 000035EE  7801                     moveq.l    D4, 0x01
  5145. label000035F0:
  5146. 000035F0  4A84                     tst.l      D4
  5147. 000035F2  670A                     beq        +0xC /* 000035FE */
  5148. 000035F4  2F0A                     move.l     -[A7], A2
  5149. 000035F6  4EBA 0204                jsr        [PC + 0x204 /* 000037FC */]
  5150. 000035FA  7C01                     moveq.l    D6, 0x01
  5151. 000035FC  584F                     addq.w     A7, 4
  5152. label000035FE:
  5153. 000035FE  4A86                     tst.l      D6
  5154. 00003600  671E                     beq        +0x20 /* 00003620 */
  5155. 00003602  5385                     subq.l     D5, 1
  5156. 00003604  B685                     cmp.l      D3, D5
  5157. 00003606  6C12                     bge        +0x14 /* 0000361A */
  5158. 00003608  2005                     move.l     D0, D5
  5159. 0000360A  9083                     sub.l      D0, D3
  5160. 0000360C  720C                     moveq.l    D1, 0x0C
  5161. 0000360E  4EAD D8F8                jsr        [A5 - 0x2708]
  5162. 00003612  41EA 000C                lea.l      A0, [A2 + 0xC]
  5163. 00003616  224A                     movea.l    A1, A2
  5164. 00003618  A02E                     syscall    BlockMove/BlockMoveData
  5165. label0000361A:
  5166. 0000361A  5383                     subq.l     D3, 1
  5167. 0000361C  700C                     moveq.l    D0, 0x0C
  5168. 0000361E  95C0                     sub.l      A2, D0
  5169. label00003620:
  5170. 00003620  5283                     addq.l     D3, 1
  5171. 00003622  700C                     moveq.l    D0, 0x0C
  5172. 00003624  D5C0                     add.l      A2, D0
  5173. label00003626:
  5174. 00003626  B685                     cmp.l      D3, D5
  5175. 00003628  6D98                     blt        -0x66 /* 000035C2 */
  5176. 0000362A  2F2D 8A58                move.l     -[A7], [A5 - 0x75A8]
  5177. 0000362E  4EAD DD88                jsr        [A5 - 0x2278]
  5178. 00003632  BA8C                     cmp.l      D5, A4
  5179. 00003634  584F                     addq.w     A7, 4
  5180. 00003636  671E                     beq        +0x20 /* 00003656 */
  5181. 00003638  4A85                     tst.l      D5
  5182. 0000363A  6710                     beq        +0x12 /* 0000364C */
  5183. 0000363C  2005                     move.l     D0, D5
  5184. 0000363E  720C                     moveq.l    D1, 0x0C
  5185. 00003640  4EAD D8F8                jsr        [A5 - 0x2708]
  5186. 00003644  206D 8A58                movea.l    A0, [A5 - 0x75A8]
  5187. 00003648  A024                     syscall    SetHandleSize
  5188. 0000364A  600A                     bra        +0xC /* 00003656 */
  5189. label0000364C:
  5190. 0000364C  206D 8A58                movea.l    A0, [A5 - 0x75A8]
  5191. 00003650  A023                     syscall    DisposHandle/DisposeHandle
  5192. 00003652  42AD 8A58                clr.l      [A5 - 0x75A8]
  5193. label00003656:
  5194. 00003656  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5195. 0000365A  4E75                     rts
  5196. 0000365C  48E7 1820                movem.l    -[A7], D3,D4,A2
  5197. 00003660  4FEF FF9E                lea.l      A7, [A7 - 0x62]
  5198. 00003664  246F 0076                movea.l    A2, [A7 + 0x76]
  5199. 00003668  2F6D 8A4C 0056           move.l     [A7 + 0x56], [A5 - 0x75B4]
  5200. 0000366E  2F6D 8A50 005A           move.l     [A7 + 0x5A], [A5 - 0x75B0]
  5201. 00003674  2F6D 8A54 005E           move.l     [A7 + 0x5E], [A5 - 0x75AC]
  5202. 0000367A  76FF                     moveq.l    D3, 0xFFFFFFFF
  5203. 0000367C  7600                     moveq.l    D3, 0x00
  5204. 0000367E  4EAD DFA0                jsr        [A5 - 0x2060]
  5205. 00003682  486F 0010                pea.l      [A7 + 0x10]
  5206. 00003686  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  5207. 0000368A  3F12                     move.w     -[A7], [A2]
  5208. 0000368C  2F2F 0084                move.l     -[A7], [A7 + 0x84]
  5209. 00003690  4EBA FE10                jsr        [PC - 0x1F0 /* 000034A2 */]
  5210. 00003694  3600                     move.w     D3, D0
  5211. 00003696  4A43                     tst.w      D3
  5212. 00003698  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5213. 0000369C  6600 00B6                bne        +0xB8 /* 00003754 */
  5214. 000036A0  554F                     subq.w     A7, 2
  5215. 000036A2  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  5216. 000036A6  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  5217. 000036AA  486F 001E                pea.l      [A7 + 0x1E]
  5218. 000036AE  486F 000C                pea.l      [A7 + 0xC]
  5219. 000036B2  4EAD DA06                jsr        [A5 - 0x25FA]
  5220. 000036B6  301F                     move.w     D0, [A7]+
  5221. 000036B8  3600                     move.w     D3, D0
  5222. 000036BA  4A43                     tst.w      D3
  5223. 000036BC  6600 0096                bne        +0x98 /* 00003754 */
  5224. 000036C0  2F6F 0072 0056           move.l     [A7 + 0x56], [A7 + 0x72]
  5225. 000036C6  0C97 4D6F 6F56           cmpi.l     [A7], 0x4D6F6F56 /* 'MooV' */
  5226. 000036CC  6700 0086                beq        +0x88 /* 00003754 */
  5227. 000036D0  0C97 7366 696C           cmpi.l     [A7], 0x7366696C /* 'sfil' */
  5228. 000036D6  6608                     bne        +0xA /* 000036E0 */
  5229. 000036D8  422F 0060                clr.b      [A7 + 0x60]
  5230. 000036DC  7801                     moveq.l    D4, 0x01
  5231. 000036DE  6006                     bra        +0x8 /* 000036E6 */
  5232. label000036E0:
  5233. 000036E0  422F 0060                clr.b      [A7 + 0x60]
  5234. 000036E4  7800                     moveq.l    D4, 0x00
  5235. label000036E6:
  5236. 000036E6  7000                     moveq.l    D0, 0x00
  5237. 000036E8  102F 0060                move.b     D0, [A7 + 0x60]
  5238. 000036EC  6702                     beq        +0x4 /* 000036F0 */
  5239. 000036EE  601C                     bra        +0x1E /* 0000370C */
  5240. label000036F0:
  5241. 000036F0  3F2F 0080                move.w     -[A7], [A7 + 0x80]
  5242. 000036F4  1F2F 0080                move.b     -[A7], [A7 + 0x80]
  5243. 000036F8  2F04                     move.l     -[A7], D4
  5244. 000036FA  486F 0018                pea.l      [A7 + 0x18]
  5245. 000036FE  486F 0062                pea.l      [A7 + 0x62]
  5246. 00003702  4EBA 005A                jsr        [PC + 0x5A /* 0000375E */]
  5247. 00003706  3600                     move.w     D3, D0
  5248. 00003708  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5249. label0000370C:
  5250. 0000370C  4A43                     tst.w      D3
  5251. 0000370E  6644                     bne        +0x46 /* 00003754 */
  5252. 00003710  4AAD 8A58                tst.l      [A5 - 0x75A8]
  5253. 00003714  6710                     beq        +0x12 /* 00003726 */
  5254. 00003716  41EF 0056                lea.l      A0, [A7 + 0x56]
  5255. 0000371A  226D 8A58                movea.l    A1, [A5 - 0x75A8]
  5256. 0000371E  700C                     moveq.l    D0, 0x0C
  5257. 00003720  A9EF                     syscall    PtrAndHand
  5258. 00003722  3600                     move.w     D3, D0
  5259. 00003724  6016                     bra        +0x18 /* 0000373C */
  5260. label00003726:
  5261. 00003726  554F                     subq.w     A7, 2
  5262. 00003728  486F 0058                pea.l      [A7 + 0x58]
  5263. 0000372C  486D 8A58                pea.l      [A5 - 0x75A8]
  5264. 00003730  4878 000C                push.l     0xC
  5265. 00003734  4EAD DA36                jsr        [A5 - 0x25CA]
  5266. 00003738  301F                     move.w     D0, [A7]+
  5267. 0000373A  3600                     move.w     D3, D0
  5268. label0000373C:
  5269. 0000373C  4A43                     tst.w      D3
  5270. 0000373E  6714                     beq        +0x16 /* 00003754 */
  5271. 00003740  7000                     moveq.l    D0, 0x00
  5272. 00003742  102F 0060                move.b     D0, [A7 + 0x60]
  5273. 00003746  6702                     beq        +0x4 /* 0000374A */
  5274. 00003748  600A                     bra        +0xC /* 00003754 */
  5275. label0000374A:
  5276. 0000374A  486F 0056                pea.l      [A7 + 0x56]
  5277. 0000374E  4EBA 00AC                jsr        [PC + 0xAC /* 000037FC */]
  5278. 00003752  584F                     addq.w     A7, 4
  5279. label00003754:
  5280. 00003754  4FEF 0062                lea.l      A7, [A7 + 0x62]
  5281. 00003758  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  5282. 0000375C  4E75                     rts
  5283. fn0000375E:
  5284. 0000375E  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  5285. 00003762  554F                     subq.w     A7, 2
  5286. 00003764  266F 001E                movea.l    A3, [A7 + 0x1E]
  5287. 00003768  246F 0022                movea.l    A2, [A7 + 0x22]
  5288. 0000376C  282F 0026                move.l     D4, [A7 + 0x26]
  5289. 00003770  7600                     moveq.l    D3, 0x00
  5290. 00003772  554F                     subq.w     A7, 2
  5291. 00003774  A994                     syscall    CurResFile
  5292. 00003776  301F                     move.w     D0, [A7]+
  5293. 00003778  3C00                     move.w     D6, D0
  5294. 0000377A  4A84                     tst.l      D4
  5295. 0000377C  6738                     beq        +0x3A /* 000037B6 */
  5296. 0000377E  7A00                     moveq.l    D5, 0x00
  5297. 00003780  554F                     subq.w     A7, 2
  5298. 00003782  3F12                     move.w     -[A7], [A2]
  5299. 00003784  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  5300. 00003788  486A 0006                pea.l      [A2 + 0x6]
  5301. 0000378C  1F3C 0001                move.b     -[A7], 0x1
  5302. 00003790  4EAD DA1E                jsr        [A5 - 0x25E2]
  5303. 00003794  301F                     move.w     D0, [A7]+
  5304. 00003796  3740 0006                move.w     [A3 + 0x6], D0
  5305. 0000379A  554F                     subq.w     A7, 2
  5306. 0000379C  A9AF                     syscall    ResError
  5307. 0000379E  301F                     move.w     D0, [A7]+
  5308. 000037A0  3600                     move.w     D3, D0
  5309. 000037A2  664A                     bne        +0x4C /* 000037EE */
  5310. 000037A4  4857                     pea.l      [A7]
  5311. 000037A6  4EBA FD6C                jsr        [PC - 0x294 /* 00003514 */]
  5312. 000037AA  3600                     move.w     D3, D0
  5313. 000037AC  584F                     addq.w     A7, 4
  5314. 000037AE  663E                     bne        +0x40 /* 000037EE */
  5315. 000037B0  3057                     movea.w    A0, [A7]
  5316. 000037B2  2808                     move.l     D4, A0
  5317. 000037B4  6024                     bra        +0x26 /* 000037DA */
  5318. label000037B6:
  5319. 000037B6  7800                     moveq.l    D4, 0x00
  5320. 000037B8  554F                     subq.w     A7, 2
  5321. 000037BA  3F12                     move.w     -[A7], [A2]
  5322. 000037BC  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  5323. 000037C0  486A 0006                pea.l      [A2 + 0x6]
  5324. 000037C4  1F3C 0001                move.b     -[A7], 0x1
  5325. 000037C8  486B 0008                pea.l      [A3 + 0x8]
  5326. 000037CC  4EAD D9FA                jsr        [A5 - 0x2606]
  5327. 000037D0  301F                     move.w     D0, [A7]+
  5328. 000037D2  3600                     move.w     D3, D0
  5329. 000037D4  6618                     bne        +0x1A /* 000037EE */
  5330. 000037D6  3A2B 0008                move.w     D5, [A3 + 0x8]
  5331. label000037DA:
  5332. 000037DA  486B 0004                pea.l      [A3 + 0x4]
  5333. 000037DE  42A7                     clr.l      -[A7]
  5334. 000037E0  2F04                     move.l     -[A7], D4
  5335. 000037E2  3F05                     move.w     -[A7], D5
  5336. 000037E4  4EBA 04F4                jsr        [PC + 0x4F4 /* 00003CDA */]
  5337. 000037E8  3600                     move.w     D3, D0
  5338. 000037EA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5339. label000037EE:
  5340. 000037EE  3F06                     move.w     -[A7], D6
  5341. 000037F0  A998                     syscall    UseResFile
  5342. 000037F2  3003                     move.w     D0, D3
  5343. 000037F4  544F                     addq.w     A7, 2
  5344. 000037F6  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5345. 000037FA  4E75                     rts
  5346. fn000037FC:
  5347. 000037FC  2F0A                     move.l     -[A7], A2
  5348. 000037FE  246F 0008                movea.l    A2, [A7 + 0x8]
  5349. 00003802  3F2A 0004                move.w     -[A7], [A2 + 0x4]
  5350. 00003806  4EBA 06E2                jsr        [PC + 0x6E2 /* 00003EEA */]
  5351. 0000380A  302A 0006                move.w     D0, [A2 + 0x6]
  5352. 0000380E  48C0                     ext.l      D0
  5353. 00003810  4A80                     tst.l      D0
  5354. 00003812  544F                     addq.w     A7, 2
  5355. 00003814  6F06                     ble        +0x8 /* 0000381C */
  5356. 00003816  3F2A 0006                move.w     -[A7], [A2 + 0x6]
  5357. 0000381A  A99A                     syscall    CloseResFile
  5358. label0000381C:
  5359. 0000381C  302A 0008                move.w     D0, [A2 + 0x8]
  5360. 00003820  48C0                     ext.l      D0
  5361. 00003822  4A80                     tst.l      D0
  5362. 00003824  6F0C                     ble        +0xE /* 00003832 */
  5363. 00003826  554F                     subq.w     A7, 2
  5364. 00003828  3F2A 0008                move.w     -[A7], [A2 + 0x8]
  5365. 0000382C  4EAD D9CA                jsr        [A5 - 0x2636]
  5366. 00003830  301F                     move.w     D0, [A7]+
  5367. label00003832:
  5368. 00003832  245F                     movea.l    A2, [A7]+
  5369. 00003834  4E75                     rts
  5370. 00003836  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  5371. 0000383A  4A2D 8A5C                tst.b      [A5 - 0x75A4]
  5372. 0000383E  6640                     bne        +0x42 /* 00003880 */
  5373. 00003840  554F                     subq.w     A7, 2
  5374. 00003842  2F3C 766D 2020           move.l     -[A7], 0x766D2020 /* 'vm  ' */
  5375. 00003848  486F 000E                pea.l      [A7 + 0xE]
  5376. 0000384C  4EAD DA66                jsr        [A5 - 0x259A]
  5377. 00003850  301F                     move.w     D0, [A7]+
  5378. 00003852  6626                     bne        +0x28 /* 0000387A */
  5379. 00003854  7001                     moveq.l    D0, 0x01
  5380. 00003856  C0AF 0008                and.l      D0, [A7 + 0x8]
  5381. 0000385A  671E                     beq        +0x20 /* 0000387A */
  5382. 0000385C  1B7C 0002 8A5C           move.b     [A5 - 0x75A4], 0x2
  5383. 00003862  41ED E4B8                lea.l      A0, [A5 - 0x1B48]
  5384. 00003866  43ED E498                lea.l      A1, [A5 - 0x1B68]
  5385. 0000386A  93C8                     sub.l      A1, A0
  5386. 0000386C  2E89                     move.l     [A7], A1
  5387. 0000386E  41ED E498                lea.l      A0, [A5 - 0x1B68]
  5388. 00003872  2257                     movea.l    A1, [A7]
  5389. 00003874  7000                     moveq.l    D0, 0x00
  5390. 00003876  A05C                     syscall    MemoryDispatch/MemoryDispatchA0Result
  5391. 00003878  6006                     bra        +0x8 /* 00003880 */
  5392. label0000387A:
  5393. 0000387A  1B7C 0001 8A5C           move.b     [A5 - 0x75A4], 0x1
  5394. label00003880:
  5395. 00003880  426D 8A94                clr.w      [A5 - 0x756C]
  5396. 00003884  42AD 8A96                clr.l      [A5 - 0x756A]
  5397. 00003888  3B7C 0001 8A9A           move.w     [A5 - 0x7566], 0x1
  5398. 0000388E  594F                     subq.w     A7, 4
  5399. 00003890  203C 000C 0008           move.l     D0, 0xC0008
  5400. 00003896  A800                     syscall    SoundDispatch
  5401. 00003898  2F5F 0004                move.l     [A7 + 0x4], [A7]+
  5402. 0000389C  2B6F 0004 8A9C           move.l     [A5 - 0x7564], [A7 + 0x4]
  5403. 000038A2  7000                     moveq.l    D0, 0x00
  5404. 000038A4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5405. 000038A8  4E75                     rts
  5406. fn000038AA:
  5407. 000038AA  2F0A                     move.l     -[A7], A2
  5408. 000038AC  203C 0000 00C6           move.l     D0, 0xC6
  5409. 000038B2  A31E                     syscall    NewPtrClear, flags=3
  5410. 000038B4  2448                     movea.l    A2, A0
  5411. 000038B6  357C 5A5A 0068           move.w     [A2 + 0x68], 0x5A5A /* 'ZZ' */
  5412. 000038BC  357C A5A5 006E           move.w     [A2 + 0x6E], 0xA5A5
  5413. 000038C2  204A                     movea.l    A0, A2
  5414. 000038C4  245F                     movea.l    A2, [A7]+
  5415. 000038C6  4E75                     rts
  5416. fn000038C8:
  5417. 000038C8  2F0A                     move.l     -[A7], A2
  5418. 000038CA  554F                     subq.w     A7, 2
  5419. 000038CC  246F 000A                movea.l    A2, [A7 + 0xA]
  5420. 000038D0  4AAA 0072                tst.l      [A2 + 0x72]
  5421. 000038D4  6640                     bne        +0x42 /* 00003916 */
  5422. 000038D6  203C 0000 0424           move.l     D0, 0x424
  5423. 000038DC  A31E                     syscall    NewPtrClear, flags=3
  5424. 000038DE  2548 0072                move.l     [A2 + 0x72], A0
  5425. 000038E2  4AAA 0072                tst.l      [A2 + 0x72]
  5426. 000038E6  672E                     beq        +0x30 /* 00003916 */
  5427. 000038E8  206A 0072                movea.l    A0, [A2 + 0x72]
  5428. 000038EC  317C 0080 001E           move.w     [A0 + 0x1E], 0x80
  5429. 000038F2  554F                     subq.w     A7, 2
  5430. 000038F4  486A 0072                pea.l      [A2 + 0x72]
  5431. 000038F8  3F3C 0005                move.w     -[A7], 0x5
  5432. 000038FC  4878 0080                push.l     0x80
  5433. 00003900  42A7                     clr.l      -[A7]
  5434. 00003902  A807                     syscall    SndNewChannel
  5435. 00003904  301F                     move.w     D0, [A7]+
  5436. 00003906  3E80                     move.w     [A7], D0
  5437. 00003908  4A57                     tst.w      [A7]
  5438. 0000390A  670A                     beq        +0xC /* 00003916 */
  5439. 0000390C  206A 0072                movea.l    A0, [A2 + 0x72]
  5440. 00003910  A01F                     syscall    DisposPtr/DisposePtr
  5441. 00003912  42AA 0072                clr.l      [A2 + 0x72]
  5442. label00003916:
  5443. 00003916  544F                     addq.w     A7, 2
  5444. 00003918  245F                     movea.l    A2, [A7]+
  5445. 0000391A  4E75                     rts
  5446. fn0000391C:
  5447. 0000391C  48E7 1020                movem.l    -[A7], D3,A2
  5448. 00003920  4FEF FFD0                lea.l      A7, [A7 - 0x30]
  5449. 00003924  246F 003C                movea.l    A2, [A7 + 0x3C]
  5450. 00003928  362A 0078                move.w     D3, [A2 + 0x78]
  5451. 0000392C  4A6A 0078                tst.w      [A2 + 0x78]
  5452. 00003930  6610                     bne        +0x12 /* 00003942 */
  5453. 00003932  357C 0003 0076           move.w     [A2 + 0x76], 0x3
  5454. 00003938  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5455. 0000393C  4CDF 0408                movem.l    D3,A2, [A7]+
  5456. 00003940  4E75                     rts
  5457. label00003942:
  5458. 00003942  554F                     subq.w     A7, 2
  5459. 00003944  3F03                     move.w     -[A7], D3
  5460. 00003946  3F3C 0001                move.w     -[A7], 0x1
  5461. 0000394A  2F2A 007A                move.l     -[A7], [A2 + 0x7A]
  5462. 0000394E  4EAD D9F4                jsr        [A5 - 0x260C]
  5463. 00003952  301F                     move.w     D0, [A7]+
  5464. 00003954  7036                     moveq.l    D0, 0x36
  5465. 00003956  2F40 002C                move.l     [A7 + 0x2C], D0
  5466. 0000395A  554F                     subq.w     A7, 2
  5467. 0000395C  3F03                     move.w     -[A7], D3
  5468. 0000395E  486F 0030                pea.l      [A7 + 0x30]
  5469. 00003962  486D 8A5E                pea.l      [A5 - 0x75A2]
  5470. 00003966  4EAD D9D0                jsr        [A5 - 0x2630]
  5471. 0000396A  301F                     move.w     D0, [A7]+
  5472. 0000396C  426A 0076                clr.w      [A2 + 0x76]
  5473. 00003970  0CAD 464F 524D 8A5E      cmpi.l     [A5 - 0x75A2], 0x464F524D /* 'FORM' */
  5474. 00003978  664A                     bne        +0x4C /* 000039C4 */
  5475. 0000397A  0CAD 4149 4646 8A66      cmpi.l     [A5 - 0x759A], 0x41494646 /* 'AIFF' */
  5476. 00003982  6640                     bne        +0x42 /* 000039C4 */
  5477. 00003984  0CAD 434F 4D4D 8A6A      cmpi.l     [A5 - 0x7596], 0x434F4D4D /* 'COMM' */
  5478. 0000398C  6636                     bne        +0x38 /* 000039C4 */
  5479. 0000398E  0CAD 5353 4E44 8A84      cmpi.l     [A5 - 0x757C], 0x53534E44 /* 'SSND' */
  5480. 00003996  662C                     bne        +0x2E /* 000039C4 */
  5481. 00003998  357C 0002 0076           move.w     [A2 + 0x76], 0x2
  5482. 0000399E  256D 8A74 00A2           move.l     [A2 + 0xA2], [A5 - 0x758C]
  5483. 000039A4  594F                     subq.w     A7, 4
  5484. 000039A6  594F                     subq.w     A7, 4
  5485. 000039A8  486D 8A7A                pea.l      [A5 - 0x7586]
  5486. 000039AC  A844                     syscall    X2Fix
  5487. 000039AE  201F                     move.l     D0, [A7]+
  5488. 000039B0  2F00                     move.l     -[A7], D0
  5489. 000039B2  A840                     syscall    Fix2Long
  5490. 000039B4  201F                     move.l     D0, [A7]+
  5491. 000039B6  2540 00B4                move.l     [A2 + 0xB4], D0
  5492. 000039BA  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5493. 000039BE  4CDF 0408                movem.l    D3,A2, [A7]+
  5494. 000039C2  4E75                     rts
  5495. label000039C4:
  5496. 000039C4  554F                     subq.w     A7, 2
  5497. 000039C6  3F03                     move.w     -[A7], D3
  5498. 000039C8  3F3C 0001                move.w     -[A7], 0x1
  5499. 000039CC  2F2A 007A                move.l     -[A7], [A2 + 0x7A]
  5500. 000039D0  4EAD D9F4                jsr        [A5 - 0x260C]
  5501. 000039D4  301F                     move.w     D0, [A7]+
  5502. 000039D6  702C                     moveq.l    D0, 0x2C
  5503. 000039D8  2F40 002C                move.l     [A7 + 0x2C], D0
  5504. 000039DC  554F                     subq.w     A7, 2
  5505. 000039DE  3F03                     move.w     -[A7], D3
  5506. 000039E0  486F 0030                pea.l      [A7 + 0x30]
  5507. 000039E4  486F 0008                pea.l      [A7 + 0x8]
  5508. 000039E8  4EAD D9D0                jsr        [A5 - 0x2630]
  5509. 000039EC  301F                     move.w     D0, [A7]+
  5510. 000039EE  0C97 5249 4646           cmpi.l     [A7], 0x52494646 /* 'RIFF' */
  5511. 000039F4  6624                     bne        +0x26 /* 00003A1A */
  5512. 000039F6  0CAF 666D 7420 000C      cmpi.l     [A7 + 0xC], 0x666D7420 /* 'fmt ' */
  5513. 000039FE  661A                     bne        +0x1C /* 00003A1A */
  5514. 00003A00  0CAF 6461 7461 0024      cmpi.l     [A7 + 0x24], 0x64617461 /* 'data' */
  5515. 00003A08  6610                     bne        +0x12 /* 00003A1A */
  5516. 00003A0A  357C 0001 0076           move.w     [A2 + 0x76], 0x1
  5517. 00003A10  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5518. 00003A14  4CDF 0408                movem.l    D3,A2, [A7]+
  5519. 00003A18  4E75                     rts
  5520. label00003A1A:
  5521. 00003A1A  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5522. 00003A1E  4CDF 0408                movem.l    D3,A2, [A7]+
  5523. 00003A22  4E75                     rts
  5524. fn00003A24:
  5525. 00003A24  2F0A                     move.l     -[A7], A2
  5526. 00003A26  246F 0008                movea.l    A2, [A7 + 0x8]
  5527. 00003A2A  200D                     move.l     D0, A5
  5528. 00003A2C  2A78 0904                movea.l    A5, [0x00000904 /* CurrentA5 */]
  5529. 00003A30  2540 007E                move.l     [A2 + 0x7E], D0
  5530. 00003A34  42AA 009A                clr.l      [A2 + 0x9A]
  5531. 00003A38  42AA 00A2                clr.l      [A2 + 0xA2]
  5532. 00003A3C  42AA 00A6                clr.l      [A2 + 0xA6]
  5533. 00003A40  422A 00B2                clr.b      [A2 + 0xB2]
  5534. 00003A44  357C 0008 00B8           move.w     [A2 + 0xB8], 0x8
  5535. 00003A4A  42AA 00BA                clr.l      [A2 + 0xBA]
  5536. 00003A4E  42AA 00C2                clr.l      [A2 + 0xC2]
  5537. 00003A52  157C 0001 00BE           move.b     [A2 + 0xBE], 0x1
  5538. 00003A58  302D 8A9A                move.w     D0, [A5 - 0x7566]
  5539. 00003A5C  526D 8A9A                addq.w     [A5 - 0x7566], 1
  5540. 00003A60  3540 0070                move.w     [A2 + 0x70], D0
  5541. 00003A64  422A 00BF                clr.b      [A2 + 0xBF]
  5542. 00003A68  245F                     movea.l    A2, [A7]+
  5543. 00003A6A  4E75                     rts
  5544. fn00003A6C:
  5545. 00003A6C  226F 0004                movea.l    A1, [A7 + 0x4]
  5546. 00003A70  206D 8A96                movea.l    A0, [A5 - 0x756A]
  5547. 00003A74  2008                     move.l     D0, A0
  5548. 00003A76  660E                     bne        +0x10 /* 00003A86 */
  5549. 00003A78  2B49 8A96                move.l     [A5 - 0x756A], A1
  5550. 00003A7C  3029 0070                move.w     D0, [A1 + 0x70]
  5551. 00003A80  4E75                     rts
  5552. label00003A82:
  5553. 00003A82  2068 00C2                movea.l    A0, [A0 + 0xC2]
  5554. label00003A86:
  5555. 00003A86  2008                     move.l     D0, A0
  5556. 00003A88  6706                     beq        +0x8 /* 00003A90 */
  5557. 00003A8A  4AA8 00C2                tst.l      [A0 + 0xC2]
  5558. 00003A8E  66F2                     bne        -0xC /* 00003A82 */
  5559. label00003A90:
  5560. 00003A90  2008                     move.l     D0, A0
  5561. 00003A92  670A                     beq        +0xC /* 00003A9E */
  5562. 00003A94  2149 00C2                move.l     [A0 + 0xC2], A1
  5563. 00003A98  3029 0070                move.w     D0, [A1 + 0x70]
  5564. 00003A9C  4E75                     rts
  5565. label00003A9E:
  5566. 00003A9E  70FF                     moveq.l    D0, 0xFFFFFFFF
  5567. 00003AA0  4E75                     rts
  5568. fn00003AA2:
  5569. 00003AA2  322F 0004                move.w     D1, [A7 + 0x4]
  5570. 00003AA6  4AAD 8A96                tst.l      [A5 - 0x756A]
  5571. 00003AAA  6604                     bne        +0x6 /* 00003AB0 */
  5572. 00003AAC  91C8                     sub.l      A0, A0
  5573. 00003AAE  4E75                     rts
  5574. label00003AB0:
  5575. 00003AB0  206D 8A96                movea.l    A0, [A5 - 0x756A]
  5576. 00003AB4  B268 0070                cmp.w      D1, [A0 + 0x70]
  5577. 00003AB8  6606                     bne        +0x8 /* 00003AC0 */
  5578. 00003ABA  206D 8A96                movea.l    A0, [A5 - 0x756A]
  5579. 00003ABE  4E75                     rts
  5580. label00003AC0:
  5581. 00003AC0  2248                     movea.l    A1, A0
  5582. 00003AC2  6004                     bra        +0x6 /* 00003AC8 */
  5583. label00003AC4:
  5584. 00003AC4  2269 00C2                movea.l    A1, [A1 + 0xC2]
  5585. label00003AC8:
  5586. 00003AC8  2009                     move.l     D0, A1
  5587. 00003ACA  6706                     beq        +0x8 /* 00003AD2 */
  5588. 00003ACC  B269 0070                cmp.w      D1, [A1 + 0x70]
  5589. 00003AD0  66F2                     bne        -0xC /* 00003AC4 */
  5590. label00003AD2:
  5591. 00003AD2  2049                     movea.l    A0, A1
  5592. 00003AD4  4E75                     rts
  5593. fn00003AD6:
  5594. 00003AD6  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  5595. 00003ADA  4FEF FFCE                lea.l      A7, [A7 - 0x32]
  5596. 00003ADE  266F 004E                movea.l    A3, [A7 + 0x4E]
  5597. 00003AE2  382B 0078                move.w     D4, [A3 + 0x78]
  5598. 00003AE6  554F                     subq.w     A7, 2
  5599. 00003AE8  3F04                     move.w     -[A7], D4
  5600. 00003AEA  3F3C 0001                move.w     -[A7], 0x1
  5601. 00003AEE  2F2B 007A                move.l     -[A7], [A3 + 0x7A]
  5602. 00003AF2  4EAD D9F4                jsr        [A5 - 0x260C]
  5603. 00003AF6  301F                     move.w     D0, [A7]+
  5604. 00003AF8  3600                     move.w     D3, D0
  5605. 00003AFA  4A43                     tst.w      D3
  5606. 00003AFC  670C                     beq        +0xE /* 00003B0A */
  5607. 00003AFE  3003                     move.w     D0, D3
  5608. 00003B00  4FEF 0032                lea.l      A7, [A7 + 0x32]
  5609. 00003B04  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5610. 00003B08  4E75                     rts
  5611. label00003B0A:
  5612. 00003B0A  4A43                     tst.w      D3
  5613. 00003B0C  670C                     beq        +0xE /* 00003B1A */
  5614. 00003B0E  3003                     move.w     D0, D3
  5615. 00003B10  4FEF 0032                lea.l      A7, [A7 + 0x32]
  5616. 00003B14  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5617. 00003B18  4E75                     rts
  5618. label00003B1A:
  5619. 00003B1A  702C                     moveq.l    D0, 0x2C
  5620. 00003B1C  2E80                     move.l     [A7], D0
  5621. 00003B1E  554F                     subq.w     A7, 2
  5622. 00003B20  3F04                     move.w     -[A7], D4
  5623. 00003B22  486F 0004                pea.l      [A7 + 0x4]
  5624. 00003B26  486F 000C                pea.l      [A7 + 0xC]
  5625. 00003B2A  4EAD D9D0                jsr        [A5 - 0x2630]
  5626. 00003B2E  301F                     move.w     D0, [A7]+
  5627. 00003B30  3600                     move.w     D3, D0
  5628. 00003B32  4A43                     tst.w      D3
  5629. 00003B34  670C                     beq        +0xE /* 00003B42 */
  5630. 00003B36  3003                     move.w     D0, D3
  5631. 00003B38  4FEF 0032                lea.l      A7, [A7 + 0x32]
  5632. 00003B3C  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5633. 00003B40  4E75                     rts
  5634. label00003B42:
  5635. 00003B42  486F 002C                pea.l      [A7 + 0x2C]
  5636. 00003B46  4EBA 0556                jsr        [PC + 0x556 /* 0000409E */]
  5637. 00003B4A  276F 0030 00A2           move.l     [A3 + 0xA2], [A7 + 0x30]
  5638. 00003B50  3F2F 002A                move.w     -[A7], [A7 + 0x2A]
  5639. 00003B54  4EBA 057A                jsr        [PC + 0x57A /* 000040D0 */]
  5640. 00003B58  7200                     moveq.l    D1, 0x00
  5641. 00003B5A  3200                     move.w     D1, D0
  5642. 00003B5C  2001                     move.l     D0, D1
  5643. 00003B5E  E480                     asr        D0, 2
  5644. 00003B60  E088                     lsr        D0, 8
  5645. 00003B62  E088                     lsr        D0, 8
  5646. 00003B64  E088                     lsr        D0, 8
  5647. 00003B66  EA88                     lsr        D0, 5
  5648. 00003B68  D081                     add.l      D0, D1
  5649. 00003B6A  E680                     asr        D0, 3
  5650. 00003B6C  3740 00B8                move.w     [A3 + 0xB8], D0
  5651. 00003B70  486F 0022                pea.l      [A7 + 0x22]
  5652. 00003B74  4EBA 0528                jsr        [PC + 0x528 /* 0000409E */]
  5653. 00003B78  276F 0026 00B4           move.l     [A3 + 0xB4], [A7 + 0x26]
  5654. 00003B7E  422B 00C0                clr.b      [A3 + 0xC0]
  5655. 00003B82  422B 00C1                clr.b      [A3 + 0xC1]
  5656. 00003B86  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  5657. 00003B8A  4EBA 0544                jsr        [PC + 0x544 /* 000040D0 */]
  5658. 00003B8E  3740 0082                move.w     [A3 + 0x82], D0
  5659. 00003B92  302B 00B8                move.w     D0, [A3 + 0xB8]
  5660. 00003B96  48C0                     ext.l      D0
  5661. 00003B98  E788                     lsl        D0, 3
  5662. 00003B9A  3740 0084                move.w     [A3 + 0x84], D0
  5663. 00003B9E  426B 0086                clr.w      [A3 + 0x86]
  5664. 00003BA2  426B 0088                clr.w      [A3 + 0x88]
  5665. 00003BA6  202B 00B4                move.l     D0, [A3 + 0xB4]
  5666. 00003BAA  7210                     moveq.l    D1, 0x10
  5667. 00003BAC  E3A8                     lsl        D0, D1
  5668. 00003BAE  2740 008A                move.l     [A3 + 0x8A], D0
  5669. 00003BB2  41ED E4A0                lea.l      A0, [A5 - 0x1B60]
  5670. 00003BB6  2748 0096                move.l     [A3 + 0x96], A0
  5671. 00003BBA  0C6B 0008 0084           cmpi.w     [A3 + 0x84], 0x8
  5672. 00003BC0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5673. 00003BC4  670A                     beq        +0xC /* 00003BD0 */
  5674. 00003BC6  202B 00BA                move.l     D0, [A3 + 0xBA]
  5675. 00003BCA  D080                     add.l      D0, D0
  5676. 00003BCC  2740 00BA                move.l     [A3 + 0xBA], D0
  5677. label00003BD0:
  5678. 00003BD0  302B 0082                move.w     D0, [A3 + 0x82]
  5679. 00003BD4  48C0                     ext.l      D0
  5680. 00003BD6  7201                     moveq.l    D1, 0x01
  5681. 00003BD8  B081                     cmp.l      D0, D1
  5682. 00003BDA  6F0A                     ble        +0xC /* 00003BE6 */
  5683. 00003BDC  202B 00BA                move.l     D0, [A3 + 0xBA]
  5684. 00003BE0  D080                     add.l      D0, D0
  5685. 00003BE2  2740 00BA                move.l     [A3 + 0xBA], D0
  5686. label00003BE6:
  5687. 00003BE6  202B 00A2                move.l     D0, [A3 + 0xA2]
  5688. 00003BEA  222B 00BA                move.l     D1, [A3 + 0xBA]
  5689. 00003BEE  4EAD D8F8                jsr        [A5 - 0x2708]
  5690. 00003BF2  7264                     moveq.l    D1, 0x64
  5691. 00003BF4  4EAD D904                jsr        [A5 - 0x26FC]
  5692. 00003BF8  2A00                     move.l     D5, D0
  5693. 00003BFA  554F                     subq.w     A7, 2
  5694. 00003BFC  3F04                     move.w     -[A7], D4
  5695. 00003BFE  3F3C 0001                move.w     -[A7], 0x1
  5696. 00003C02  702C                     moveq.l    D0, 0x2C
  5697. 00003C04  D085                     add.l      D0, D5
  5698. 00003C06  2F00                     move.l     -[A7], D0
  5699. 00003C08  4EAD D9F4                jsr        [A5 - 0x260C]
  5700. 00003C0C  301F                     move.w     D0, [A7]+
  5701. 00003C0E  3600                     move.w     D3, D0
  5702. 00003C10  2745 00A6                move.l     [A3 + 0xA6], D5
  5703. 00003C14  7000                     moveq.l    D0, 0x00
  5704. 00003C16  102D 8A9C                move.b     D0, [A5 - 0x7564]
  5705. 00003C1A  7203                     moveq.l    D1, 0x03
  5706. 00003C1C  B081                     cmp.l      D0, D1
  5707. 00003C1E  6C14                     bge        +0x16 /* 00003C34 */
  5708. 00003C20  0C6B 0008 0084           cmpi.w     [A3 + 0x84], 0x8
  5709. 00003C26  670C                     beq        +0xE /* 00003C34 */
  5710. 00003C28  377C 0008 0084           move.w     [A3 + 0x84], 0x8
  5711. 00003C2E  177C 0001 00C0           move.b     [A3 + 0xC0], 0x1
  5712. label00003C34:
  5713. 00003C34  0C6B 0008 0084           cmpi.w     [A3 + 0x84], 0x8
  5714. 00003C3A  6706                     beq        +0x8 /* 00003C42 */
  5715. 00003C3C  177C 0001 00C1           move.b     [A3 + 0xC1], 0x1
  5716. label00003C42:
  5717. 00003C42  7600                     moveq.l    D3, 0x00
  5718. 00003C44  607C                     bra        +0x7E /* 00003CC2 */
  5719. label00003C46:
  5720. 00003C46  203C 0000 2014           move.l     D0, 0x2014
  5721. 00003C4C  A11E                     syscall    NewPtr, flags=1
  5722. 00003C4E  2448                     movea.l    A2, A0
  5723. 00003C50  284A                     movea.l    A4, A2
  5724. 00003C52  4A43                     tst.w      D3
  5725. 00003C54  6608                     bne        +0xA /* 00003C5E */
  5726. 00003C56  3F7C 5A5A 0030           move.w     [A7 + 0x30], 0x5A5A /* 'ZZ' */
  5727. 00003C5C  6006                     bra        +0x8 /* 00003C64 */
  5728. label00003C5E:
  5729. 00003C5E  3F7C A5A5 0030           move.w     [A7 + 0x30], 0xA5A5
  5730. label00003C64:
  5731. 00003C64  41EF 0030                lea.l      A0, [A7 + 0x30]
  5732. 00003C68  43EC 2012                lea.l      A1, [A4 + 0x2012]
  5733. 00003C6C  7002                     moveq.l    D0, 0x02
  5734. 00003C6E  A02E                     syscall    BlockMove/BlockMoveData
  5735. 00003C70  200A                     move.l     D0, A2
  5736. 00003C72  660C                     bne        +0xE /* 00003C80 */
  5737. 00003C74  7004                     moveq.l    D0, 0x04
  5738. 00003C76  4FEF 0032                lea.l      A7, [A7 + 0x32]
  5739. 00003C7A  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5740. 00003C7E  4E75                     rts
  5741. label00003C80:
  5742. 00003C80  0C2D 0002 8A5C           cmpi.b     [A5 - 0x75A4], 0x2
  5743. 00003C86  660C                     bne        +0xE /* 00003C94 */
  5744. 00003C88  204A                     movea.l    A0, A2
  5745. 00003C8A  227C 0000 2014           movea.l    A1, 0x2014
  5746. 00003C90  7000                     moveq.l    D0, 0x00
  5747. 00003C92  A05C                     syscall    MemoryDispatch/MemoryDispatchA0Result
  5748. label00003C94:
  5749. 00003C94  4292                     clr.l      [A2]
  5750. 00003C96  42AA 0004                clr.l      [A2 + 0x4]
  5751. 00003C9A  254B 0008                move.l     [A2 + 0x8], A3
  5752. 00003C9E  422B 00BE                clr.b      [A3 + 0xBE]
  5753. 00003CA2  2F2B 0072                move.l     -[A7], [A3 + 0x72]
  5754. 00003CA6  2F0A                     move.l     -[A7], A2
  5755. 00003CA8  4EBA 0474                jsr        [PC + 0x474 /* 0000411E */]
  5756. 00003CAC  3043                     movea.w    A0, D3
  5757. 00003CAE  2008                     move.l     D0, A0
  5758. 00003CB0  E588                     lsl        D0, 2
  5759. 00003CB2  204B                     movea.l    A0, A3
  5760. 00003CB4  D1C0                     add.l      A0, D0
  5761. 00003CB6  214A 008E                move.l     [A0 + 0x8E], A2
  5762. 00003CBA  177C 0001 00BE           move.b     [A3 + 0xBE], 0x1
  5763. 00003CC0  5243                     addq.w     D3, 1
  5764. label00003CC2:
  5765. 00003CC2  3003                     move.w     D0, D3
  5766. 00003CC4  48C0                     ext.l      D0
  5767. 00003CC6  7201                     moveq.l    D1, 0x01
  5768. 00003CC8  B081                     cmp.l      D0, D1
  5769. 00003CCA  6F00 FF7A                ble        -0x84 /* 00003C46 */
  5770. 00003CCE  7000                     moveq.l    D0, 0x00
  5771. 00003CD0  4FEF 0032                lea.l      A7, [A7 + 0x32]
  5772. 00003CD4  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5773. 00003CD8  4E75                     rts
  5774. fn00003CDA:
  5775. 00003CDA  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  5776. 00003CDE  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  5777. 00003CE2  2A2F 002A                move.l     D5, [A7 + 0x2A]
  5778. 00003CE6  266F 002E                movea.l    A3, [A7 + 0x2E]
  5779. 00003CEA  4EBA FBBE                jsr        [PC - 0x442 /* 000038AA */]
  5780. 00003CEE  2448                     movea.l    A2, A0
  5781. 00003CF0  200A                     move.l     D0, A2
  5782. 00003CF2  660C                     bne        +0xE /* 00003D00 */
  5783. 00003CF4  7004                     moveq.l    D0, 0x04
  5784. 00003CF6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5785. 00003CFA  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5786. 00003CFE  4E75                     rts
  5787. label00003D00:
  5788. 00003D00  2F0A                     move.l     -[A7], A2
  5789. 00003D02  4EBA FD20                jsr        [PC - 0x2E0 /* 00003A24 */]
  5790. 00003D06  356F 0028 0078           move.w     [A2 + 0x78], [A7 + 0x28]
  5791. 00003D0C  256F 002A 007A           move.l     [A2 + 0x7A], [A7 + 0x2A]
  5792. 00003D12  2545 00BA                move.l     [A2 + 0xBA], D5
  5793. 00003D16  2F0A                     move.l     -[A7], A2
  5794. 00003D18  4EBA FC02                jsr        [PC - 0x3FE /* 0000391C */]
  5795. 00003D1C  4A6A 0076                tst.w      [A2 + 0x76]
  5796. 00003D20  504F                     addq.w     A7, 8
  5797. 00003D22  6610                     bne        +0x12 /* 00003D34 */
  5798. 00003D24  204A                     movea.l    A0, A2
  5799. 00003D26  A01F                     syscall    DisposPtr/DisposePtr
  5800. 00003D28  7001                     moveq.l    D0, 0x01
  5801. 00003D2A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5802. 00003D2E  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5803. 00003D32  4E75                     rts
  5804. label00003D34:
  5805. 00003D34  2F0A                     move.l     -[A7], A2
  5806. 00003D36  4EBA FB90                jsr        [PC - 0x470 /* 000038C8 */]
  5807. 00003D3A  4AAA 0072                tst.l      [A2 + 0x72]
  5808. 00003D3E  584F                     addq.w     A7, 4
  5809. 00003D40  6610                     bne        +0x12 /* 00003D52 */
  5810. 00003D42  204A                     movea.l    A0, A2
  5811. 00003D44  A01F                     syscall    DisposPtr/DisposePtr
  5812. 00003D46  7003                     moveq.l    D0, 0x03
  5813. 00003D48  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5814. 00003D4C  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5815. 00003D50  4E75                     rts
  5816. label00003D52:
  5817. 00003D52  2F0A                     move.l     -[A7], A2
  5818. 00003D54  4EBA FD16                jsr        [PC - 0x2EA /* 00003A6C */]
  5819. 00003D58  3680                     move.w     [A3], D0
  5820. 00003D5A  0C53 FFFF                cmpi.w     [A3], 0xFFFF
  5821. 00003D5E  584F                     addq.w     A7, 4
  5822. 00003D60  6610                     bne        +0x12 /* 00003D72 */
  5823. 00003D62  204A                     movea.l    A0, A2
  5824. 00003D64  A01F                     syscall    DisposPtr/DisposePtr
  5825. 00003D66  7006                     moveq.l    D0, 0x06
  5826. 00003D68  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5827. 00003D6C  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5828. 00003D70  4E75                     rts
  5829. label00003D72:
  5830. 00003D72  0C6A 0001 0076           cmpi.w     [A2 + 0x76], 0x1
  5831. 00003D78  663A                     bne        +0x3C /* 00003DB4 */
  5832. 00003D7A  2F0A                     move.l     -[A7], A2
  5833. 00003D7C  4EBA FD58                jsr        [PC - 0x2A8 /* 00003AD6 */]
  5834. 00003D80  3600                     move.w     D3, D0
  5835. 00003D82  4A43                     tst.w      D3
  5836. 00003D84  584F                     addq.w     A7, 4
  5837. 00003D86  670C                     beq        +0xE /* 00003D94 */
  5838. 00003D88  3003                     move.w     D0, D3
  5839. 00003D8A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5840. 00003D8E  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5841. 00003D92  4E75                     rts
  5842. label00003D94:
  5843. 00003D94  554F                     subq.w     A7, 2
  5844. 00003D96  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  5845. 00003D9A  486A 0082                pea.l      [A2 + 0x82]
  5846. 00003D9E  203C 0420 0008           move.l     D0, 0x4200008
  5847. 00003DA4  A800                     syscall    SoundDispatch
  5848. 00003DA6  301F                     move.w     D0, [A7]+
  5849. 00003DA8  7000                     moveq.l    D0, 0x00
  5850. 00003DAA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5851. 00003DAE  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5852. 00003DB2  4E75                     rts
  5853. label00003DB4:
  5854. 00003DB4  0C6A 0002 0076           cmpi.w     [A2 + 0x76], 0x2
  5855. 00003DBA  6600 00A6                bne        +0xA8 /* 00003E62 */
  5856. 00003DBE  4297                     clr.l      [A7]
  5857. 00003DC0  594F                     subq.w     A7, 4
  5858. 00003DC2  2F2A 00A2                move.l     -[A7], [A2 + 0xA2]
  5859. 00003DC6  2F2A 00B4                move.l     -[A7], [A2 + 0xB4]
  5860. 00003DCA  A84D                     syscall    FixDiv
  5861. 00003DCC  201F                     move.l     D0, [A7]+
  5862. 00003DCE  2600                     move.l     D3, D0
  5863. 00003DD0  594F                     subq.w     A7, 4
  5864. 00003DD2  2F03                     move.l     -[A7], D3
  5865. 00003DD4  A840                     syscall    Fix2Long
  5866. 00003DD6  201F                     move.l     D0, [A7]+
  5867. 00003DD8  2800                     move.l     D4, D0
  5868. 00003DDA  594F                     subq.w     A7, 4
  5869. 00003DDC  2F03                     move.l     -[A7], D3
  5870. 00003DDE  594F                     subq.w     A7, 4
  5871. 00003DE0  2F05                     move.l     -[A7], D5
  5872. 00003DE2  A83F                     syscall    Long2Fix
  5873. 00003DE4  201F                     move.l     D0, [A7]+
  5874. 00003DE6  2F00                     move.l     -[A7], D0
  5875. 00003DE8  A868                     syscall    FixMul
  5876. 00003DEA  201F                     move.l     D0, [A7]+
  5877. 00003DEC  2800                     move.l     D4, D0
  5878. 00003DEE  594F                     subq.w     A7, 4
  5879. 00003DF0  2F04                     move.l     -[A7], D4
  5880. 00003DF2  A840                     syscall    Fix2Long
  5881. 00003DF4  201F                     move.l     D0, [A7]+
  5882. 00003DF6  2600                     move.l     D3, D0
  5883. 00003DF8  594F                     subq.w     A7, 4
  5884. 00003DFA  2F04                     move.l     -[A7], D4
  5885. 00003DFC  594F                     subq.w     A7, 4
  5886. 00003DFE  4878 0064                push.l     0x64 /* 'd' */
  5887. 00003E02  A83F                     syscall    Long2Fix
  5888. 00003E04  201F                     move.l     D0, [A7]+
  5889. 00003E06  2F00                     move.l     -[A7], D0
  5890. 00003E08  A84D                     syscall    FixDiv
  5891. 00003E0A  201F                     move.l     D0, [A7]+
  5892. 00003E0C  2F40 0004                move.l     [A7 + 0x4], D0
  5893. 00003E10  594F                     subq.w     A7, 4
  5894. 00003E12  4878 270F                push.l     0x270F
  5895. 00003E16  A83F                     syscall    Long2Fix
  5896. 00003E18  201F                     move.l     D0, [A7]+
  5897. 00003E1A  2F40 0008                move.l     [A7 + 0x8], D0
  5898. 00003E1E  554F                     subq.w     A7, 2
  5899. 00003E20  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  5900. 00003E24  3F2A 0078                move.w     -[A7], [A2 + 0x78]
  5901. 00003E28  4267                     clr.w      -[A7]
  5902. 00003E2A  4878 7D00                push.l     0x7D00 /* '}\0' */
  5903. 00003E2E  42A7                     clr.l      -[A7]
  5904. 00003E30  486F 0012                pea.l      [A7 + 0x12]
  5905. 00003E34  42A7                     clr.l      -[A7]
  5906. 00003E36  1F3C 0001                move.b     -[A7], 0x1
  5907. 00003E3A  203C 0D00 0008           move.l     D0, 0xD000008
  5908. 00003E40  A800                     syscall    SoundDispatch
  5909. 00003E42  301F                     move.w     D0, [A7]+
  5910. 00003E44  3600                     move.w     D3, D0
  5911. 00003E46  4A43                     tst.w      D3
  5912. 00003E48  670C                     beq        +0xE /* 00003E56 */
  5913. 00003E4A  3003                     move.w     D0, D3
  5914. 00003E4C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5915. 00003E50  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5916. 00003E54  4E75                     rts
  5917. label00003E56:
  5918. 00003E56  7000                     moveq.l    D0, 0x00
  5919. 00003E58  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5920. 00003E5C  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5921. 00003E60  4E75                     rts
  5922. label00003E62:
  5923. 00003E62  0C6A 0003 0076           cmpi.w     [A2 + 0x76], 0x3
  5924. 00003E68  6674                     bne        +0x76 /* 00003EDE */
  5925. 00003E6A  4297                     clr.l      [A7]
  5926. 00003E6C  594F                     subq.w     A7, 4
  5927. 00003E6E  594F                     subq.w     A7, 4
  5928. 00003E70  2F05                     move.l     -[A7], D5
  5929. 00003E72  A83F                     syscall    Long2Fix
  5930. 00003E74  201F                     move.l     D0, [A7]+
  5931. 00003E76  2F00                     move.l     -[A7], D0
  5932. 00003E78  594F                     subq.w     A7, 4
  5933. 00003E7A  4878 03E8                push.l     0x3E8
  5934. 00003E7E  A83F                     syscall    Long2Fix
  5935. 00003E80  201F                     move.l     D0, [A7]+
  5936. 00003E82  2F00                     move.l     -[A7], D0
  5937. 00003E84  A84D                     syscall    FixDiv
  5938. 00003E86  201F                     move.l     D0, [A7]+
  5939. 00003E88  2F40 0004                move.l     [A7 + 0x4], D0
  5940. 00003E8C  594F                     subq.w     A7, 4
  5941. 00003E8E  4878 270F                push.l     0x270F
  5942. 00003E92  A83F                     syscall    Long2Fix
  5943. 00003E94  201F                     move.l     D0, [A7]+
  5944. 00003E96  2F40 0008                move.l     [A7 + 0x8], D0
  5945. 00003E9A  554F                     subq.w     A7, 2
  5946. 00003E9C  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  5947. 00003EA0  4267                     clr.w      -[A7]
  5948. 00003EA2  3F2A 007C                move.w     -[A7], [A2 + 0x7C]
  5949. 00003EA6  4878 7D00                push.l     0x7D00 /* '}\0' */
  5950. 00003EAA  42A7                     clr.l      -[A7]
  5951. 00003EAC  486F 0012                pea.l      [A7 + 0x12]
  5952. 00003EB0  42A7                     clr.l      -[A7]
  5953. 00003EB2  1F3C 0001                move.b     -[A7], 0x1
  5954. 00003EB6  203C 0D00 0008           move.l     D0, 0xD000008
  5955. 00003EBC  A800                     syscall    SoundDispatch
  5956. 00003EBE  301F                     move.w     D0, [A7]+
  5957. 00003EC0  3600                     move.w     D3, D0
  5958. 00003EC2  4A43                     tst.w      D3
  5959. 00003EC4  670C                     beq        +0xE /* 00003ED2 */
  5960. 00003EC6  3003                     move.w     D0, D3
  5961. 00003EC8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5962. 00003ECC  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5963. 00003ED0  4E75                     rts
  5964. label00003ED2:
  5965. 00003ED2  7000                     moveq.l    D0, 0x00
  5966. 00003ED4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5967. 00003ED8  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5968. 00003EDC  4E75                     rts
  5969. label00003EDE:
  5970. 00003EDE  7002                     moveq.l    D0, 0x02
  5971. 00003EE0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5972. 00003EE4  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5973. 00003EE8  4E75                     rts
  5974. fn00003EEA:
  5975. 00003EEA  48E7 1020                movem.l    -[A7], D3,A2
  5976. 00003EEE  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  5977. 00003EF2  4EBA FBAE                jsr        [PC - 0x452 /* 00003AA2 */]
  5978. 00003EF6  2448                     movea.l    A2, A0
  5979. 00003EF8  200A                     move.l     D0, A2
  5980. 00003EFA  544F                     addq.w     A7, 2
  5981. 00003EFC  6608                     bne        +0xA /* 00003F06 */
  5982. 00003EFE  7005                     moveq.l    D0, 0x05
  5983. 00003F00  4CDF 0408                movem.l    D3,A2, [A7]+
  5984. 00003F04  4E75                     rts
  5985. label00003F06:
  5986. 00003F06  4AAA 0072                tst.l      [A2 + 0x72]
  5987. 00003F0A  6770                     beq        +0x72 /* 00003F7C */
  5988. 00003F0C  486A 0064                pea.l      [A2 + 0x64]
  5989. 00003F10  4EBA 01DA                jsr        [PC + 0x1DA /* 000040EC */]
  5990. 00003F14  486A 006A                pea.l      [A2 + 0x6A]
  5991. 00003F18  4EBA 01D2                jsr        [PC + 0x1D2 /* 000040EC */]
  5992. 00003F1C  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  5993. 00003F20  1F3C 0001                move.b     -[A7], 0x1
  5994. 00003F24  A801                     syscall    SndDisposeChannel
  5995. 00003F26  301F                     move.w     D0, [A7]+
  5996. 00003F28  0C6A 0001 0076           cmpi.w     [A2 + 0x76], 0x1
  5997. 00003F2E  5C4F                     addq.w     A7, 6
  5998. 00003F30  6640                     bne        +0x42 /* 00003F72 */
  5999. 00003F32  7600                     moveq.l    D3, 0x00
  6000. 00003F34  6032                     bra        +0x34 /* 00003F68 */
  6001. label00003F36:
  6002. 00003F36  0C2D 0002 8A5C           cmpi.b     [A5 - 0x75A4], 0x2
  6003. 00003F3C  6618                     bne        +0x1A /* 00003F56 */
  6004. 00003F3E  3043                     movea.w    A0, D3
  6005. 00003F40  2008                     move.l     D0, A0
  6006. 00003F42  E588                     lsl        D0, 2
  6007. 00003F44  204A                     movea.l    A0, A2
  6008. 00003F46  D1C0                     add.l      A0, D0
  6009. 00003F48  2068 008E                movea.l    A0, [A0 + 0x8E]
  6010. 00003F4C  227C 0000 2014           movea.l    A1, 0x2014
  6011. 00003F52  7001                     moveq.l    D0, 0x01
  6012. 00003F54  A05C                     syscall    MemoryDispatch/MemoryDispatchA0Result
  6013. label00003F56:
  6014. 00003F56  3043                     movea.w    A0, D3
  6015. 00003F58  2008                     move.l     D0, A0
  6016. 00003F5A  E588                     lsl        D0, 2
  6017. 00003F5C  204A                     movea.l    A0, A2
  6018. 00003F5E  D1C0                     add.l      A0, D0
  6019. 00003F60  2068 008E                movea.l    A0, [A0 + 0x8E]
  6020. 00003F64  A01F                     syscall    DisposPtr/DisposePtr
  6021. 00003F66  5243                     addq.w     D3, 1
  6022. label00003F68:
  6023. 00003F68  3003                     move.w     D0, D3
  6024. 00003F6A  48C0                     ext.l      D0
  6025. 00003F6C  7201                     moveq.l    D1, 0x01
  6026. 00003F6E  B081                     cmp.l      D0, D1
  6027. 00003F70  6FC4                     ble        -0x3A /* 00003F36 */
  6028. label00003F72:
  6029. 00003F72  206A 0072                movea.l    A0, [A2 + 0x72]
  6030. 00003F76  A01F                     syscall    DisposPtr/DisposePtr
  6031. 00003F78  42AA 0072                clr.l      [A2 + 0x72]
  6032. label00003F7C:
  6033. 00003F7C  4CDF 0408                movem.l    D3,A2, [A7]+
  6034. 00003F80  4E75                     rts
  6035. fn00003F82:
  6036. 00003F82  48E7 1820                movem.l    -[A7], D3,D4,A2
  6037. 00003F86  4FEF FFE4                lea.l      A7, [A7 - 0x1C]
  6038. 00003F8A  3F2F 002C                move.w     -[A7], [A7 + 0x2C]
  6039. 00003F8E  4EBA FB12                jsr        [PC - 0x4EE /* 00003AA2 */]
  6040. 00003F92  2448                     movea.l    A2, A0
  6041. 00003F94  200A                     move.l     D0, A2
  6042. 00003F96  544F                     addq.w     A7, 2
  6043. 00003F98  660C                     bne        +0xE /* 00003FA6 */
  6044. 00003F9A  70FF                     moveq.l    D0, 0xFFFFFFFF
  6045. 00003F9C  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6046. 00003FA0  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  6047. 00003FA4  4E75                     rts
  6048. label00003FA6:
  6049. 00003FA6  0C6A 0001 0076           cmpi.w     [A2 + 0x76], 0x1
  6050. 00003FAC  665E                     bne        +0x60 /* 0000400C */
  6051. 00003FAE  202A 00A6                move.l     D0, [A2 + 0xA6]
  6052. 00003FB2  7264                     moveq.l    D1, 0x64
  6053. 00003FB4  4EAD D8F8                jsr        [A5 - 0x2708]
  6054. 00003FB8  222A 00A2                move.l     D1, [A2 + 0xA2]
  6055. 00003FBC  4EAD D904                jsr        [A5 - 0x26FC]
  6056. 00003FC0  3600                     move.w     D3, D0
  6057. 00003FC2  554F                     subq.w     A7, 2
  6058. 00003FC4  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  6059. 00003FC8  3F3C 0018                move.w     -[A7], 0x18
  6060. 00003FCC  486F 000C                pea.l      [A7 + 0xC]
  6061. 00003FD0  203C 0510 0008           move.l     D0, 0x5100008
  6062. 00003FD6  A800                     syscall    SoundDispatch
  6063. 00003FD8  301F                     move.w     D0, [A7]+
  6064. 00003FDA  0C43 0064                cmpi.w     D3, 0x64 /* 'd' */
  6065. 00003FDE  6620                     bne        +0x22 /* 00004000 */
  6066. 00003FE0  4A2F 0010                tst.b      [A7 + 0x10]
  6067. 00003FE4  671A                     beq        +0x1C /* 00004000 */
  6068. 00003FE6  203C 0007 8000           move.l     D0, 0x78000
  6069. 00003FEC  222A 00B4                move.l     D1, [A2 + 0xB4]
  6070. 00003FF0  4EAD D904                jsr        [A5 - 0x26FC]
  6071. 00003FF4  D080                     add.l      D0, D0
  6072. 00003FF6  2800                     move.l     D4, D0
  6073. 00003FF8  2044                     movea.l    A0, D4
  6074. 00003FFA  43D7                     lea.l      A1, [A7]
  6075. 00003FFC  A03B                     syscall    Delay
  6076. 00003FFE  2280                     move.l     [A1], D0
  6077. label00004000:
  6078. 00004000  3003                     move.w     D0, D3
  6079. 00004002  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6080. 00004006  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  6081. 0000400A  4E75                     rts
  6082. label0000400C:
  6083. 0000400C  0C6A 0002 0076           cmpi.w     [A2 + 0x76], 0x2
  6084. 00004012  6708                     beq        +0xA /* 0000401C */
  6085. 00004014  0C6A 0003 0076           cmpi.w     [A2 + 0x76], 0x3
  6086. 0000401A  6676                     bne        +0x78 /* 00004092 */
  6087. label0000401C:
  6088. 0000401C  554F                     subq.w     A7, 2
  6089. 0000401E  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  6090. 00004022  3F3C 0018                move.w     -[A7], 0x18
  6091. 00004026  486F 000C                pea.l      [A7 + 0xC]
  6092. 0000402A  203C 0510 0008           move.l     D0, 0x5100008
  6093. 00004030  A800                     syscall    SoundDispatch
  6094. 00004032  301F                     move.w     D0, [A7]+
  6095. 00004034  4A2F 0010                tst.b      [A7 + 0x10]
  6096. 00004038  660C                     bne        +0xE /* 00004046 */
  6097. 0000403A  7064                     moveq.l    D0, 0x64
  6098. 0000403C  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6099. 00004040  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  6100. 00004044  4E75                     rts
  6101. label00004046:
  6102. 00004046  594F                     subq.w     A7, 4
  6103. 00004048  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  6104. 0000404C  594F                     subq.w     A7, 4
  6105. 0000404E  4878 0064                push.l     0x64 /* 'd' */
  6106. 00004052  A83F                     syscall    Long2Fix
  6107. 00004054  201F                     move.l     D0, [A7]+
  6108. 00004056  2F00                     move.l     -[A7], D0
  6109. 00004058  A868                     syscall    FixMul
  6110. 0000405A  201F                     move.l     D0, [A7]+
  6111. 0000405C  2600                     move.l     D3, D0
  6112. 0000405E  594F                     subq.w     A7, 4
  6113. 00004060  2F03                     move.l     -[A7], D3
  6114. 00004062  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  6115. 00004066  A84D                     syscall    FixDiv
  6116. 00004068  201F                     move.l     D0, [A7]+
  6117. 0000406A  2600                     move.l     D3, D0
  6118. 0000406C  594F                     subq.w     A7, 4
  6119. 0000406E  2F03                     move.l     -[A7], D3
  6120. 00004070  A840                     syscall    Fix2Long
  6121. 00004072  201F                     move.l     D0, [A7]+
  6122. 00004074  3800                     move.w     D4, D0
  6123. 00004076  3004                     move.w     D0, D4
  6124. 00004078  48C0                     ext.l      D0
  6125. 0000407A  7264                     moveq.l    D1, 0x64
  6126. 0000407C  B081                     cmp.l      D0, D1
  6127. 0000407E  6D04                     blt        +0x6 /* 00004084 */
  6128. 00004080  7063                     moveq.l    D0, 0x63
  6129. 00004082  6004                     bra        +0x6 /* 00004088 */
  6130. label00004084:
  6131. 00004084  3004                     move.w     D0, D4
  6132. 00004086  48C0                     ext.l      D0
  6133. label00004088:
  6134. 00004088  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6135. 0000408C  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  6136. 00004090  4E75                     rts
  6137. label00004092:
  6138. 00004092  7000                     moveq.l    D0, 0x00
  6139. 00004094  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6140. 00004098  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  6141. 0000409C  4E75                     rts
  6142. fn0000409E:
  6143. 0000409E  594F                     subq.w     A7, 4
  6144. 000040A0  206F 0008                movea.l    A0, [A7 + 0x8]
  6145. 000040A4  1EA8 0003                move.b     [A7], [A0 + 0x3]
  6146. 000040A8  1F68 0002 0001           move.b     [A7 + 0x1], [A0 + 0x2]
  6147. 000040AE  1F68 0001 0002           move.b     [A7 + 0x2], [A0 + 0x1]
  6148. 000040B4  1F50 0003                move.b     [A7 + 0x3], [A0]
  6149. 000040B8  1097                     move.b     [A0], [A7]
  6150. 000040BA  116F 0001 0001           move.b     [A0 + 0x1], [A7 + 0x1]
  6151. 000040C0  116F 0002 0002           move.b     [A0 + 0x2], [A7 + 0x2]
  6152. 000040C6  116F 0003 0003           move.b     [A0 + 0x3], [A7 + 0x3]
  6153. 000040CC  584F                     addq.w     A7, 4
  6154. 000040CE  4E75                     rts
  6155. fn000040D0:
  6156. 000040D0  7000                     moveq.l    D0, 0x00
  6157. 000040D2  302F 0004                move.w     D0, [A7 + 0x4]
  6158. 000040D6  E188                     lsl        D0, 8
  6159. 000040D8  7200                     moveq.l    D1, 0x00
  6160. 000040DA  322F 0004                move.w     D1, [A7 + 0x4]
  6161. 000040DE  E081                     asr        D1, 8
  6162. 000040E0  8280                     or.l       D1, D0
  6163. 000040E2  0281 0000 FFFF           andi.l     D1, 0xFFFF
  6164. 000040E8  3001                     move.w     D0, D1
  6165. 000040EA  4E75                     rts
  6166. fn000040EC:
  6167. 000040EC  48E7 1020                movem.l    -[A7], D3,A2
  6168. 000040F0  246F 000C                movea.l    A2, [A7 + 0xC]
  6169. 000040F4  594F                     subq.w     A7, 4
  6170. 000040F6  A975                     syscall    TickCount
  6171. 000040F8  201F                     move.l     D0, [A7]+
  6172. 000040FA  2600                     move.l     D3, D0
  6173. label000040FC:
  6174. 000040FC  4A92                     tst.l      [A2]
  6175. 000040FE  6710                     beq        +0x12 /* 00004110 */
  6176. 00004100  594F                     subq.w     A7, 4
  6177. 00004102  A975                     syscall    TickCount
  6178. 00004104  201F                     move.l     D0, [A7]+
  6179. 00004106  9083                     sub.l      D0, D3
  6180. 00004108  0C80 0000 012C           cmpi.l     D0, 0x12C
  6181. 0000410E  65EC                     bcs        -0x12 /* 000040FC */
  6182. label00004110:
  6183. 00004110  4A92                     tst.l      [A2]
  6184. 00004112  6702                     beq        +0x4 /* 00004116 */
  6185. 00004114  A016                     syscall    InitQueue/FInitQueue
  6186. label00004116:
  6187. 00004116  4CDF 0408                movem.l    D3,A2, [A7]+
  6188. 0000411A  4E75                     rts
  6189. 0000411C  4E75                     rts
  6190. fn0000411E:
  6191. 0000411E  48E7 0038                movem.l    -[A7], A2,A3,A4
  6192. 00004122  554F                     subq.w     A7, 2
  6193. 00004124  266F 0012                movea.l    A3, [A7 + 0x12]
  6194. 00004128  48E7 FFFC                movem.l    -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5
  6195. 0000412C  246B 0008                movea.l    A2, [A3 + 0x8]
  6196. 00004130  202A 007E                move.l     D0, [A2 + 0x7E]
  6197. 00004134  C18D                     exg        D0, A5
  6198. 00004136  284B                     movea.l    A4, A3
  6199. 00004138  41EC 2012                lea.l      A0, [A4 + 0x2012]
  6200. 0000413C  43D7                     lea.l      A1, [A7]
  6201. 0000413E  7002                     moveq.l    D0, 0x02
  6202. 00004140  A02E                     syscall    BlockMove/BlockMoveData
  6203. 00004142  0C57 5A5A                cmpi.w     [A7], 0x5A5A /* 'ZZ' */
  6204. 00004146  6608                     bne        +0xA /* 00004150 */
  6205. 00004148  254B 009A                move.l     [A2 + 0x9A], A3
  6206. 0000414C  284A                     movea.l    A4, A2
  6207. 0000414E  600A                     bra        +0xC /* 0000415A */
  6208. label00004150:
  6209. 00004150  254B 009E                move.l     [A2 + 0x9E], A3
  6210. 00004154  284A                     movea.l    A4, A2
  6211. 00004156  49EC 0032                lea.l      A4, [A4 + 0x32]
  6212. label0000415A:
  6213. 0000415A  202A 00A2                move.l     D0, [A2 + 0xA2]
  6214. 0000415E  90AA 00A6                sub.l      D0, [A2 + 0xA6]
  6215. 00004162  2540 00AA                move.l     [A2 + 0xAA], D0
  6216. 00004166  0CAA 0000 2000 00AA      cmpi.l     [A2 + 0xAA], 0x2000 /* ' \0' */
  6217. 0000416E  6F08                     ble        +0xA /* 00004178 */
  6218. 00004170  257C 0000 2000 00AA      move.l     [A2 + 0xAA], 0x2000 /* ' \0' */
  6219. label00004178:
  6220. 00004178  4AAA 00AA                tst.l      [A2 + 0xAA]
  6221. 0000417C  6700 0080                beq        +0x82 /* 000041FE */
  6222. 00004180  4A2A 00BF                tst.b      [A2 + 0xBF]
  6223. 00004184  6714                     beq        +0x16 /* 0000419A */
  6224. 00004186  4878 2000                push.l     0x2000 /* ' \0' */
  6225. 0000418A  42A7                     clr.l      -[A7]
  6226. 0000418C  486B 0010                pea.l      [A3 + 0x10]
  6227. 00004190  4EAD D94C                jsr        [A5 - 0x26B4]
  6228. 00004194  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6229. 00004198  6064                     bra        +0x66 /* 000041FE */
  6230. label0000419A:
  6231. 0000419A  4A2A 00BE                tst.b      [A2 + 0xBE]
  6232. 0000419E  674A                     beq        +0x4C /* 000041EA */
  6233. 000041A0  396A 0078 0018           move.w     [A4 + 0x18], [A2 + 0x78]
  6234. 000041A6  296A 00AA 0024           move.l     [A4 + 0x24], [A2 + 0xAA]
  6235. 000041AC  204B                     movea.l    A0, A3
  6236. 000041AE  5088                     addq.l     A0, 8
  6237. 000041B0  5088                     addq.l     A0, 8
  6238. 000041B2  2948 0020                move.l     [A4 + 0x20], A0
  6239. 000041B6  426C 002C                clr.w      [A4 + 0x2C]
  6240. 000041BA  0C57 5A5A                cmpi.w     [A7], 0x5A5A /* 'ZZ' */
  6241. 000041BE  6610                     bne        +0x12 /* 000041D0 */
  6242. 000041C0  7001                     moveq.l    D0, 0x01
  6243. 000041C2  2540 0064                move.l     [A2 + 0x64], D0
  6244. 000041C6  41ED E4A8                lea.l      A0, [A5 - 0x1B58]
  6245. 000041CA  2948 000C                move.l     [A4 + 0xC], A0
  6246. 000041CE  600E                     bra        +0x10 /* 000041DE */
  6247. label000041D0:
  6248. 000041D0  7001                     moveq.l    D0, 0x01
  6249. 000041D2  2540 006A                move.l     [A2 + 0x6A], D0
  6250. 000041D6  41ED E4B0                lea.l      A0, [A5 - 0x1B50]
  6251. 000041DA  2948 000C                move.l     [A4 + 0xC], A0
  6252. label000041DE:
  6253. 000041DE  204C                     movea.l    A0, A4
  6254. 000041E0  A402                     syscall    Read, flags=4
  6255. 000041E2  4CDF 3FFF                movem.l    D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5, [A7]+
  6256. 000041E6  6000 00AE                bra        +0xB0 /* 00004296 */
  6257. label000041EA:
  6258. 000041EA  554F                     subq.w     A7, 2
  6259. 000041EC  3F2A 0078                move.w     -[A7], [A2 + 0x78]
  6260. 000041F0  486A 00AA                pea.l      [A2 + 0xAA]
  6261. 000041F4  486B 0010                pea.l      [A3 + 0x10]
  6262. 000041F8  4EAD D9D0                jsr        [A5 - 0x2630]
  6263. 000041FC  301F                     move.w     D0, [A7]+
  6264. label000041FE:
  6265. 000041FE  4AAA 00AA                tst.l      [A2 + 0xAA]
  6266. 00004202  6756                     beq        +0x58 /* 0000425A */
  6267. 00004204  4A2A 00C1                tst.b      [A2 + 0xC1]
  6268. 00004208  6710                     beq        +0x12 /* 0000421A */
  6269. 0000420A  486A 00AA                pea.l      [A2 + 0xAA]
  6270. 0000420E  486B 0010                pea.l      [A3 + 0x10]
  6271. 00004212  4EBA 02B8                jsr        [PC + 0x2B8 /* 000044CC */]
  6272. 00004216  504F                     addq.w     A7, 8
  6273. 00004218  6014                     bra        +0x16 /* 0000422E */
  6274. label0000421A:
  6275. 0000421A  4A2A 00C0                tst.b      [A2 + 0xC0]
  6276. 0000421E  670E                     beq        +0x10 /* 0000422E */
  6277. 00004220  486A 00AA                pea.l      [A2 + 0xAA]
  6278. 00004224  486B 0010                pea.l      [A3 + 0x10]
  6279. 00004228  4EBA 0258                jsr        [PC + 0x258 /* 00004482 */]
  6280. 0000422C  504F                     addq.w     A7, 8
  6281. label0000422E:
  6282. 0000422E  302A 0082                move.w     D0, [A2 + 0x82]
  6283. 00004232  48C0                     ext.l      D0
  6284. 00004234  2200                     move.l     D1, D0
  6285. 00004236  202A 00AA                move.l     D0, [A2 + 0xAA]
  6286. 0000423A  4EAD D904                jsr        [A5 - 0x26FC]
  6287. 0000423E  2680                     move.l     [A3], D0
  6288. 00004240  306A 00B8                movea.w    A0, [A2 + 0xB8]
  6289. 00004244  2013                     move.l     D0, [A3]
  6290. 00004246  2208                     move.l     D1, A0
  6291. 00004248  4EAD D904                jsr        [A5 - 0x26FC]
  6292. 0000424C  2680                     move.l     [A3], D0
  6293. 0000424E  7001                     moveq.l    D0, 0x01
  6294. 00004250  80AB 0004                or.l       D0, [A3 + 0x4]
  6295. 00004254  2740 0004                move.l     [A3 + 0x4], D0
  6296. 00004258  600C                     bra        +0xE /* 00004266 */
  6297. label0000425A:
  6298. 0000425A  4293                     clr.l      [A3]
  6299. 0000425C  7004                     moveq.l    D0, 0x04
  6300. 0000425E  80AB 0004                or.l       D0, [A3 + 0x4]
  6301. 00004262  2740 0004                move.l     [A3 + 0x4], D0
  6302. label00004266:
  6303. 00004266  4A2A 00BF                tst.b      [A2 + 0xBF]
  6304. 0000426A  6626                     bne        +0x28 /* 00004292 */
  6305. 0000426C  202A 00AA                move.l     D0, [A2 + 0xAA]
  6306. 00004270  D1AA 00A6                add.l      [A2 + 0xA6], D0
  6307. 00004274  4A2A 00C0                tst.b      [A2 + 0xC0]
  6308. 00004278  6708                     beq        +0xA /* 00004282 */
  6309. 0000427A  202A 00AA                move.l     D0, [A2 + 0xAA]
  6310. 0000427E  D1AA 00A6                add.l      [A2 + 0xA6], D0
  6311. label00004282:
  6312. 00004282  202A 00A6                move.l     D0, [A2 + 0xA6]
  6313. 00004286  B0AA 00A2                cmp.l      D0, [A2 + 0xA2]
  6314. 0000428A  6D06                     blt        +0x8 /* 00004292 */
  6315. 0000428C  157C 0001 00B2           move.b     [A2 + 0xB2], 0x1
  6316. label00004292:
  6317. 00004292  4CDF 3FFF                movem.l    D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5, [A7]+
  6318. label00004296:
  6319. 00004296  544F                     addq.w     A7, 2
  6320. 00004298  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  6321. 0000429C  205F                     movea.l    A0, [A7]+
  6322. 0000429E  504F                     addq.w     A7, 8
  6323. 000042A0  4ED0                     jmp        [A0]
  6324. 000042A2  48E7 0038                movem.l    -[A7], A2,A3,A4
  6325. 000042A6  48E7 FFFC                movem.l    -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5
  6326. 000042AA  2008                     move.l     D0, A0
  6327. 000042AC  2440                     movea.l    A2, D0
  6328. 000042AE  202A 007E                move.l     D0, [A2 + 0x7E]
  6329. 000042B2  C18D                     exg        D0, A5
  6330. 000042B4  256A 0028 00AA           move.l     [A2 + 0xAA], [A2 + 0x28]
  6331. 000042BA  42AA 0064                clr.l      [A2 + 0x64]
  6332. 000042BE  4AAA 00AA                tst.l      [A2 + 0xAA]
  6333. 000042C2  6768                     beq        +0x6A /* 0000432C */
  6334. 000042C4  4A2A 00C1                tst.b      [A2 + 0xC1]
  6335. 000042C8  6714                     beq        +0x16 /* 000042DE */
  6336. 000042CA  486A 00AA                pea.l      [A2 + 0xAA]
  6337. 000042CE  206A 009A                movea.l    A0, [A2 + 0x9A]
  6338. 000042D2  4868 0010                pea.l      [A0 + 0x10]
  6339. 000042D6  4EBA 01F4                jsr        [PC + 0x1F4 /* 000044CC */]
  6340. 000042DA  504F                     addq.w     A7, 8
  6341. 000042DC  6018                     bra        +0x1A /* 000042F6 */
  6342. label000042DE:
  6343. 000042DE  4A2A 00C0                tst.b      [A2 + 0xC0]
  6344. 000042E2  6712                     beq        +0x14 /* 000042F6 */
  6345. 000042E4  486A 00AA                pea.l      [A2 + 0xAA]
  6346. 000042E8  206A 009A                movea.l    A0, [A2 + 0x9A]
  6347. 000042EC  4868 0010                pea.l      [A0 + 0x10]
  6348. 000042F0  4EBA 0190                jsr        [PC + 0x190 /* 00004482 */]
  6349. 000042F4  504F                     addq.w     A7, 8
  6350. label000042F6:
  6351. 000042F6  302A 0082                move.w     D0, [A2 + 0x82]
  6352. 000042FA  48C0                     ext.l      D0
  6353. 000042FC  2200                     move.l     D1, D0
  6354. 000042FE  202A 00AA                move.l     D0, [A2 + 0xAA]
  6355. 00004302  4EAD D904                jsr        [A5 - 0x26FC]
  6356. 00004306  206A 009A                movea.l    A0, [A2 + 0x9A]
  6357. 0000430A  2080                     move.l     [A0], D0
  6358. 0000430C  306A 00B8                movea.w    A0, [A2 + 0xB8]
  6359. 00004310  226A 009A                movea.l    A1, [A2 + 0x9A]
  6360. 00004314  2011                     move.l     D0, [A1]
  6361. 00004316  2208                     move.l     D1, A0
  6362. 00004318  4EAD D904                jsr        [A5 - 0x26FC]
  6363. 0000431C  2280                     move.l     [A1], D0
  6364. 0000431E  266A 009A                movea.l    A3, [A2 + 0x9A]
  6365. 00004322  588B                     addq.l     A3, 4
  6366. 00004324  7001                     moveq.l    D0, 0x01
  6367. 00004326  8093                     or.l       D0, [A3]
  6368. 00004328  2680                     move.l     [A3], D0
  6369. 0000432A  6018                     bra        +0x1A /* 00004344 */
  6370. label0000432C:
  6371. 0000432C  157C 0001 00B2           move.b     [A2 + 0xB2], 0x1
  6372. 00004332  206A 009A                movea.l    A0, [A2 + 0x9A]
  6373. 00004336  4290                     clr.l      [A0]
  6374. 00004338  286A 009A                movea.l    A4, [A2 + 0x9A]
  6375. 0000433C  588C                     addq.l     A4, 4
  6376. 0000433E  7004                     moveq.l    D0, 0x04
  6377. 00004340  8094                     or.l       D0, [A4]
  6378. 00004342  2880                     move.l     [A4], D0
  6379. label00004344:
  6380. 00004344  202A 00AA                move.l     D0, [A2 + 0xAA]
  6381. 00004348  D1AA 00A6                add.l      [A2 + 0xA6], D0
  6382. 0000434C  4A2A 00C0                tst.b      [A2 + 0xC0]
  6383. 00004350  6708                     beq        +0xA /* 0000435A */
  6384. 00004352  202A 00AA                move.l     D0, [A2 + 0xAA]
  6385. 00004356  D1AA 00A6                add.l      [A2 + 0xA6], D0
  6386. label0000435A:
  6387. 0000435A  4CDF 3FFF                movem.l    D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5, [A7]+
  6388. 0000435E  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  6389. 00004362  4E75                     rts
  6390. 00004364  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  6391. 00004368  48E7 FFFC                movem.l    -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5
  6392. 0000436C  2008                     move.l     D0, A0
  6393. 0000436E  2440                     movea.l    A2, D0
  6394. 00004370  264A                     movea.l    A3, A2
  6395. 00004372  47EB FFCE                lea.l      A3, [A3 - 0x32]
  6396. 00004376  244B                     movea.l    A2, A3
  6397. 00004378  202A 007E                move.l     D0, [A2 + 0x7E]
  6398. 0000437C  C18D                     exg        D0, A5
  6399. 0000437E  256A 005A 00AE           move.l     [A2 + 0xAE], [A2 + 0x5A]
  6400. 00004384  42AA 006A                clr.l      [A2 + 0x6A]
  6401. 00004388  4AAA 00AE                tst.l      [A2 + 0xAE]
  6402. 0000438C  6768                     beq        +0x6A /* 000043F6 */
  6403. 0000438E  4A2A 00C1                tst.b      [A2 + 0xC1]
  6404. 00004392  6714                     beq        +0x16 /* 000043A8 */
  6405. 00004394  486A 00AE                pea.l      [A2 + 0xAE]
  6406. 00004398  206A 009E                movea.l    A0, [A2 + 0x9E]
  6407. 0000439C  4868 0010                pea.l      [A0 + 0x10]
  6408. 000043A0  4EBA 012A                jsr        [PC + 0x12A /* 000044CC */]
  6409. 000043A4  504F                     addq.w     A7, 8
  6410. 000043A6  6018                     bra        +0x1A /* 000043C0 */
  6411. label000043A8:
  6412. 000043A8  4A2A 00C0                tst.b      [A2 + 0xC0]
  6413. 000043AC  6712                     beq        +0x14 /* 000043C0 */
  6414. 000043AE  486A 00AE                pea.l      [A2 + 0xAE]
  6415. 000043B2  206A 009E                movea.l    A0, [A2 + 0x9E]
  6416. 000043B6  4868 0010                pea.l      [A0 + 0x10]
  6417. 000043BA  4EBA 00C6                jsr        [PC + 0xC6 /* 00004482 */]
  6418. 000043BE  504F                     addq.w     A7, 8
  6419. label000043C0:
  6420. 000043C0  302A 0082                move.w     D0, [A2 + 0x82]
  6421. 000043C4  48C0                     ext.l      D0
  6422. 000043C6  2200                     move.l     D1, D0
  6423. 000043C8  202A 00AE                move.l     D0, [A2 + 0xAE]
  6424. 000043CC  4EAD D904                jsr        [A5 - 0x26FC]
  6425. 000043D0  206A 009E                movea.l    A0, [A2 + 0x9E]
  6426. 000043D4  2080                     move.l     [A0], D0
  6427. 000043D6  306A 00B8                movea.w    A0, [A2 + 0xB8]
  6428. 000043DA  226A 009E                movea.l    A1, [A2 + 0x9E]
  6429. 000043DE  2011                     move.l     D0, [A1]
  6430. 000043E0  2208                     move.l     D1, A0
  6431. 000043E2  4EAD D904                jsr        [A5 - 0x26FC]
  6432. 000043E6  2280                     move.l     [A1], D0
  6433. 000043E8  286A 009E                movea.l    A4, [A2 + 0x9E]
  6434. 000043EC  588C                     addq.l     A4, 4
  6435. 000043EE  7001                     moveq.l    D0, 0x01
  6436. 000043F0  8094                     or.l       D0, [A4]
  6437. 000043F2  2880                     move.l     [A4], D0
  6438. 000043F4  6018                     bra        +0x1A /* 0000440E */
  6439. label000043F6:
  6440. 000043F6  157C 0001 00B2           move.b     [A2 + 0xB2], 0x1
  6441. 000043FC  206A 009E                movea.l    A0, [A2 + 0x9E]
  6442. 00004400  4290                     clr.l      [A0]
  6443. 00004402  2C6A 009E                movea.l    A6, [A2 + 0x9E]
  6444. 00004406  588E                     addq.l     A6, 4
  6445. 00004408  7004                     moveq.l    D0, 0x04
  6446. 0000440A  8096                     or.l       D0, [A6]
  6447. 0000440C  2C80                     move.l     [A6], D0
  6448. label0000440E:
  6449. 0000440E  202A 00AE                move.l     D0, [A2 + 0xAE]
  6450. 00004412  D1AA 00A6                add.l      [A2 + 0xA6], D0
  6451. 00004416  4A2A 00C0                tst.b      [A2 + 0xC0]
  6452. 0000441A  6708                     beq        +0xA /* 00004424 */
  6453. 0000441C  202A 00AE                move.l     D0, [A2 + 0xAE]
  6454. 00004420  D1AA 00A6                add.l      [A2 + 0xA6], D0
  6455. label00004424:
  6456. 00004424  4CDF 3FFF                movem.l    D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5, [A7]+
  6457. 00004428  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  6458. 0000442C  4E75                     rts
  6459. fn0000442E:
  6460. 0000442E  2F0A                     move.l     -[A7], A2
  6461. 00004430  554F                     subq.w     A7, 2
  6462. 00004432  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  6463. 00004436  4EBA F66A                jsr        [PC - 0x996 /* 00003AA2 */]
  6464. 0000443A  2448                     movea.l    A2, A0
  6465. 0000443C  200A                     move.l     D0, A2
  6466. 0000443E  544F                     addq.w     A7, 2
  6467. 00004440  6608                     bne        +0xA /* 0000444A */
  6468. 00004442  7005                     moveq.l    D0, 0x05
  6469. 00004444  544F                     addq.w     A7, 2
  6470. 00004446  245F                     movea.l    A2, [A7]+
  6471. 00004448  4E75                     rts
  6472. label0000444A:
  6473. 0000444A  4AAA 0072                tst.l      [A2 + 0x72]
  6474. 0000444E  672C                     beq        +0x2E /* 0000447C */
  6475. 00004450  0C6A 0001 0076           cmpi.w     [A2 + 0x76], 0x1
  6476. 00004456  6714                     beq        +0x16 /* 0000446C */
  6477. 00004458  554F                     subq.w     A7, 2
  6478. 0000445A  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  6479. 0000445E  203C 0204 0008           move.l     D0, 0x2040008
  6480. 00004464  A800                     syscall    SoundDispatch
  6481. 00004466  301F                     move.w     D0, [A7]+
  6482. 00004468  3E80                     move.w     [A7], D0
  6483. 0000446A  6010                     bra        +0x12 /* 0000447C */
  6484. label0000446C:
  6485. 0000446C  102A 00BF                move.b     D0, [A2 + 0xBF]
  6486. 00004470  57C0                     seq        D0
  6487. 00004472  4400                     neg.b      D0
  6488. 00004474  4880                     ext.w      D0
  6489. 00004476  48C0                     ext.l      D0
  6490. 00004478  1540 00BF                move.b     [A2 + 0xBF], D0
  6491. label0000447C:
  6492. 0000447C  544F                     addq.w     A7, 2
  6493. 0000447E  245F                     movea.l    A2, [A7]+
  6494. 00004480  4E75                     rts
  6495. fn00004482:
  6496. 00004482  2F0C                     move.l     -[A7], A4
  6497. 00004484  206F 0008                movea.l    A0, [A7 + 0x8]
  6498. 00004488  286F 000C                movea.l    A4, [A7 + 0xC]
  6499. 0000448C  2214                     move.l     D1, [A4]
  6500. 0000448E  E089                     lsr        D1, 8
  6501. 00004490  E089                     lsr        D1, 8
  6502. 00004492  E089                     lsr        D1, 8
  6503. 00004494  EE89                     lsr        D1, 7
  6504. 00004496  D294                     add.l      D1, [A4]
  6505. 00004498  E281                     asr        D1, 1
  6506. 0000449A  2248                     movea.l    A1, A0
  6507. 0000449C  5288                     addq.l     A0, 1
  6508. 0000449E  6010                     bra        +0x12 /* 000044B0 */
  6509. label000044A0:
  6510. 000044A0  1010                     move.b     D0, [A0]
  6511. 000044A2  4880                     ext.w      D0
  6512. 000044A4  48C0                     ext.l      D0
  6513. 000044A6  0680 0000 0080           addi.l     D0, 0x80
  6514. 000044AC  12C0                     move.b     [A1]+, D0
  6515. 000044AE  5488                     addq.l     A0, 2
  6516. label000044B0:
  6517. 000044B0  2001                     move.l     D0, D1
  6518. 000044B2  5381                     subq.l     D1, 1
  6519. 000044B4  4A80                     tst.l      D0
  6520. 000044B6  66E8                     bne        -0x16 /* 000044A0 */
  6521. 000044B8  2014                     move.l     D0, [A4]
  6522. 000044BA  E088                     lsr        D0, 8
  6523. 000044BC  E088                     lsr        D0, 8
  6524. 000044BE  E088                     lsr        D0, 8
  6525. 000044C0  EE88                     lsr        D0, 7
  6526. 000044C2  D094                     add.l      D0, [A4]
  6527. 000044C4  E280                     asr        D0, 1
  6528. 000044C6  2880                     move.l     [A4], D0
  6529. 000044C8  285F                     movea.l    A4, [A7]+
  6530. 000044CA  4E75                     rts
  6531. fn000044CC:
  6532. 000044CC  2F05                     move.l     -[A7], D5
  6533. 000044CE  206F 000C                movea.l    A0, [A7 + 0xC]
  6534. 000044D2  2A10                     move.l     D5, [A0]
  6535. 000044D4  E08D                     lsr        D5, 8
  6536. 000044D6  E08D                     lsr        D5, 8
  6537. 000044D8  E08D                     lsr        D5, 8
  6538. 000044DA  EE8D                     lsr        D5, 7
  6539. 000044DC  DA90                     add.l      D5, [A0]
  6540. 000044DE  E285                     asr        D5, 1
  6541. 000044E0  226F 0008                movea.l    A1, [A7 + 0x8]
  6542. 000044E4  600E                     bra        +0x10 /* 000044F4 */
  6543. label000044E6:
  6544. 000044E6  1211                     move.b     D1, [A1]
  6545. 000044E8  1429 0001                move.b     D2, [A1 + 0x1]
  6546. 000044EC  1282                     move.b     [A1], D2
  6547. 000044EE  1341 0001                move.b     [A1 + 0x1], D1
  6548. 000044F2  5489                     addq.l     A1, 2
  6549. label000044F4:
  6550. 000044F4  2005                     move.l     D0, D5
  6551. 000044F6  5385                     subq.l     D5, 1
  6552. 000044F8  4A80                     tst.l      D0
  6553. 000044FA  66EA                     bne        -0x14 /* 000044E6 */
  6554. 000044FC  2A1F                     move.l     D5, [A7]+
  6555. 000044FE  4E75                     rts
  6556. 00004500  4E75                     rts
  6557. 00004502  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  6558. 00004506  4FEF FFEA                lea.l      A7, [A7 - 0x16]
  6559. 0000450A  282F 0030                move.l     D4, [A7 + 0x30]
  6560. 0000450E  2A2F 0034                move.l     D5, [A7 + 0x34]
  6561. 00004512  266F 0038                movea.l    A3, [A7 + 0x38]
  6562. 00004516  2004                     move.l     D0, D4
  6563. 00004518  222D B4E8                move.l     D1, [A5 - 0x4B18]
  6564. 0000451C  4EAD D8FE                jsr        [A5 - 0x2702]
  6565. 00004520  2F40 0008                move.l     [A7 + 0x8], D0
  6566. 00004524  2004                     move.l     D0, D4
  6567. 00004526  222D B4E8                move.l     D1, [A5 - 0x4B18]
  6568. 0000452A  4EAD D90A                jsr        [A5 - 0x26F6]
  6569. 0000452E  4A80                     tst.l      D0
  6570. 00004530  56C0                     sne        D0
  6571. 00004532  4400                     neg.b      D0
  6572. 00004534  4880                     ext.w      D0
  6573. 00004536  48C0                     ext.l      D0
  6574. 00004538  D1AF 0008                add.l      [A7 + 0x8], D0
  6575. 0000453C  202F 0008                move.l     D0, [A7 + 0x8]
  6576. 00004540  E588                     lsl        D0, 2
  6577. 00004542  A322                     syscall    NewHandleClear, flags=3
  6578. 00004544  2F48 0004                move.l     [A7 + 0x4], A0
  6579. 00004548  554F                     subq.w     A7, 2
  6580. 0000454A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  6581. 0000454E  301F                     move.w     D0, [A7]+
  6582. 00004550  3680                     move.w     [A3], D0
  6583. 00004552  670C                     beq        +0xE /* 00004560 */
  6584. 00004554  91C8                     sub.l      A0, A0
  6585. 00004556  4FEF 0016                lea.l      A7, [A7 + 0x16]
  6586. 0000455A  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  6587. 0000455E  4E75                     rts
  6588. label00004560:
  6589. 00004560  7600                     moveq.l    D3, 0x00
  6590. 00004562  6020                     bra        +0x22 /* 00004584 */
  6591. label00004564:
  6592. 00004564  A166                     syscall    NewEmptyHandle, flags=1
  6593. 00004566  2448                     movea.l    A2, A0
  6594. 00004568  554F                     subq.w     A7, 2
  6595. 0000456A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  6596. 0000456E  301F                     move.w     D0, [A7]+
  6597. 00004570  3680                     move.w     [A3], D0
  6598. 00004572  6616                     bne        +0x18 /* 0000458A */
  6599. 00004574  2003                     move.l     D0, D3
  6600. 00004576  E588                     lsl        D0, 2
  6601. 00004578  206F 0004                movea.l    A0, [A7 + 0x4]
  6602. 0000457C  2250                     movea.l    A1, [A0]
  6603. 0000457E  238A 0800                move.l     [A1 + D0], A2
  6604. 00004582  5283                     addq.l     D3, 1
  6605. label00004584:
  6606. 00004584  B6AF 0008                cmp.l      D3, [A7 + 0x8]
  6607. 00004588  6DDA                     blt        -0x24 /* 00004564 */
  6608. label0000458A:
  6609. 0000458A  3F6F 002E 0014           move.w     [A7 + 0x14], [A7 + 0x2E]
  6610. 00004590  2F45 000C                move.l     [A7 + 0xC], D5
  6611. 00004594  2005                     move.l     D0, D5
  6612. 00004596  D084                     add.l      D0, D4
  6613. 00004598  2F40 0010                move.l     [A7 + 0x10], D0
  6614. 0000459C  4A53                     tst.w      [A3]
  6615. 0000459E  6624                     bne        +0x26 /* 000045C4 */
  6616. 000045A0  554F                     subq.w     A7, 2
  6617. 000045A2  486F 0006                pea.l      [A7 + 0x6]
  6618. 000045A6  486F 0006                pea.l      [A7 + 0x6]
  6619. 000045AA  4878 0012                push.l     0x12
  6620. 000045AE  4EAD DA36                jsr        [A5 - 0x25CA]
  6621. 000045B2  301F                     move.w     D0, [A7]+
  6622. 000045B4  3680                     move.w     [A3], D0
  6623. 000045B6  660C                     bne        +0xE /* 000045C4 */
  6624. 000045B8  2057                     movea.l    A0, [A7]
  6625. 000045BA  4FEF 0016                lea.l      A7, [A7 + 0x16]
  6626. 000045BE  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  6627. 000045C2  4E75                     rts
  6628. label000045C4:
  6629. 000045C4  42A7                     clr.l      -[A7]
  6630. 000045C6  3F3C 0001                move.w     -[A7], 0x1
  6631. 000045CA  4878 0004                push.l     0x4
  6632. 000045CE  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  6633. 000045D2  4EAD DE18                jsr        [A5 - 0x21E8]
  6634. 000045D6  206F 0012                movea.l    A0, [A7 + 0x12]
  6635. 000045DA  A023                     syscall    DisposHandle/DisposeHandle
  6636. 000045DC  91C8                     sub.l      A0, A0
  6637. 000045DE  4FEF 0024                lea.l      A7, [A7 + 0x24]
  6638. 000045E2  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  6639. 000045E6  4E75                     rts
  6640. 000045E8  48E7 0038                movem.l    -[A7], A2,A3,A4
  6641. 000045EC  266F 0010                movea.l    A3, [A7 + 0x10]
  6642. 000045F0  200B                     move.l     D0, A3
  6643. 000045F2  6724                     beq        +0x26 /* 00004618 */
  6644. 000045F4  2853                     movea.l    A4, [A3]
  6645. 000045F6  2454                     movea.l    A2, [A4]
  6646. 000045F8  200A                     move.l     D0, A2
  6647. 000045FA  6718                     beq        +0x1A /* 00004614 */
  6648. 000045FC  42A7                     clr.l      -[A7]
  6649. 000045FE  3F3C 0001                move.w     -[A7], 0x1
  6650. 00004602  4878 0004                push.l     0x4
  6651. 00004606  2F0A                     move.l     -[A7], A2
  6652. 00004608  4EAD DE18                jsr        [A5 - 0x21E8]
  6653. 0000460C  204A                     movea.l    A0, A2
  6654. 0000460E  A023                     syscall    DisposHandle/DisposeHandle
  6655. 00004610  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6656. label00004614:
  6657. 00004614  204B                     movea.l    A0, A3
  6658. 00004616  A023                     syscall    DisposHandle/DisposeHandle
  6659. label00004618:
  6660. 00004618  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  6661. 0000461C  4E75                     rts
  6662. 0000461E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6663. 00004622  266F 0028                movea.l    A3, [A7 + 0x28]
  6664. 00004626  2C6F 0030                movea.l    A6, [A7 + 0x30]
  6665. 0000462A  7A00                     moveq.l    D5, 0x00
  6666. 0000462C  200B                     move.l     D0, A3
  6667. 0000462E  6608                     bne        +0xA /* 00004638 */
  6668. 00004630  7094                     moveq.l    D0, 0xFFFFFF94
  6669. 00004632  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6670. 00004636  4E75                     rts
  6671. label00004638:
  6672. 00004638  2453                     movea.l    A2, [A3]
  6673. 0000463A  3E2A 0010                move.w     D7, [A2 + 0x10]
  6674. 0000463E  2C2A 0008                move.l     D6, [A2 + 0x8]
  6675. 00004642  286A 000C                movea.l    A4, [A2 + 0xC]
  6676. 00004646  2652                     movea.l    A3, [A2]
  6677. 00004648  200B                     move.l     D0, A3
  6678. 0000464A  6608                     bne        +0xA /* 00004654 */
  6679. 0000464C  7094                     moveq.l    D0, 0xFFFFFF94
  6680. 0000464E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6681. 00004652  4E75                     rts
  6682. label00004654:
  6683. 00004654  260E                     move.l     D3, A6
  6684. 00004656  9686                     sub.l      D3, D6
  6685. 00004658  2003                     move.l     D0, D3
  6686. 0000465A  222D B4E8                move.l     D1, [A5 - 0x4B18]
  6687. 0000465E  4EAD D8FE                jsr        [A5 - 0x2702]
  6688. 00004662  2800                     move.l     D4, D0
  6689. 00004664  2004                     move.l     D0, D4
  6690. 00004666  222D B4E8                move.l     D1, [A5 - 0x4B18]
  6691. 0000466A  4EAD D8F8                jsr        [A5 - 0x2708]
  6692. 0000466E  9680                     sub.l      D3, D0
  6693. 00004670  2003                     move.l     D0, D3
  6694. 00004672  7216                     moveq.l    D1, 0x16
  6695. 00004674  4EAD D8FE                jsr        [A5 - 0x2702]
  6696. 00004678  2600                     move.l     D3, D0
  6697. 0000467A  2004                     move.l     D0, D4
  6698. 0000467C  E588                     lsl        D0, 2
  6699. 0000467E  2053                     movea.l    A0, [A3]
  6700. 00004680  2470 0800                movea.l    A2, [A0 + D0]
  6701. 00004684  4A92                     tst.l      [A2]
  6702. 00004686  6628                     bne        +0x2A /* 000046B0 */
  6703. 00004688  2F04                     move.l     -[A7], D4
  6704. 0000468A  2F0C                     move.l     -[A7], A4
  6705. 0000468C  2F06                     move.l     -[A7], D6
  6706. 0000468E  3F07                     move.w     -[A7], D7
  6707. 00004690  2F0A                     move.l     -[A7], A2
  6708. 00004692  4EBA 0080                jsr        [PC + 0x80 /* 00004714 */]
  6709. 00004696  3A00                     move.w     D5, D0
  6710. 00004698  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6711. 0000469C  6712                     beq        +0x14 /* 000046B0 */
  6712. 0000469E  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  6713. 000046A2  2F0E                     move.l     -[A7], A6
  6714. 000046A4  3F07                     move.w     -[A7], D7
  6715. 000046A6  4EBA 002E                jsr        [PC + 0x2E /* 000046D6 */]
  6716. 000046AA  3A00                     move.w     D5, D0
  6717. 000046AC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6718. label000046B0:
  6719. 000046B0  4A92                     tst.l      [A2]
  6720. 000046B2  671A                     beq        +0x1C /* 000046CE */
  6721. 000046B4  2003                     move.l     D0, D3
  6722. 000046B6  7216                     moveq.l    D1, 0x16
  6723. 000046B8  4EAD D8F8                jsr        [A5 - 0x2708]
  6724. 000046BC  2052                     movea.l    A0, [A2]
  6725. 000046BE  D1C0                     add.l      A0, D0
  6726. 000046C0  226F 002C                movea.l    A1, [A7 + 0x2C]
  6727. 000046C4  7004                     moveq.l    D0, 0x04
  6728. label000046C6:
  6729. 000046C6  22D8                     move.l     [A1]+, [A0]+
  6730. 000046C8  51C8 FFFC                dbf        D0, -0x6 /* 000046C6 */
  6731. 000046CC  32D8                     move.w     [A1]+, [A0]+
  6732. label000046CE:
  6733. 000046CE  3005                     move.w     D0, D5
  6734. 000046D0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6735. 000046D4  4E75                     rts
  6736. fn000046D6:
  6737. 000046D6  5D4F                     subq.w     A7, 6
  6738. 000046D8  7016                     moveq.l    D0, 0x16
  6739. 000046DA  2F40 0002                move.l     [A7 + 0x2], D0
  6740. 000046DE  554F                     subq.w     A7, 2
  6741. 000046E0  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  6742. 000046E4  3F3C 0001                move.w     -[A7], 0x1
  6743. 000046E8  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  6744. 000046EC  4EAD D9F4                jsr        [A5 - 0x260C]
  6745. 000046F0  301F                     move.w     D0, [A7]+
  6746. 000046F2  3E80                     move.w     [A7], D0
  6747. 000046F4  6706                     beq        +0x8 /* 000046FC */
  6748. 000046F6  3017                     move.w     D0, [A7]
  6749. 000046F8  5C4F                     addq.w     A7, 6
  6750. 000046FA  4E75                     rts
  6751. label000046FC:
  6752. 000046FC  554F                     subq.w     A7, 2
  6753. 000046FE  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  6754. 00004702  486F 0006                pea.l      [A7 + 0x6]
  6755. 00004706  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  6756. 0000470A  4EAD D9D0                jsr        [A5 - 0x2630]
  6757. 0000470E  301F                     move.w     D0, [A7]+
  6758. 00004710  5C4F                     addq.w     A7, 6
  6759. 00004712  4E75                     rts
  6760. fn00004714:
  6761. 00004714  48E7 1E20                movem.l    -[A7], D3,D4,D5,D6,A2
  6762. 00004718  594F                     subq.w     A7, 4
  6763. 0000471A  246F 001C                movea.l    A2, [A7 + 0x1C]
  6764. 0000471E  3C2F 0020                move.w     D6, [A7 + 0x20]
  6765. 00004722  2A2F 0026                move.l     D5, [A7 + 0x26]
  6766. 00004726  202F 002A                move.l     D0, [A7 + 0x2A]
  6767. 0000472A  222D B4E8                move.l     D1, [A5 - 0x4B18]
  6768. 0000472E  4EAD D8F8                jsr        [A5 - 0x2708]
  6769. 00004732  D0AF 0022                add.l      D0, [A7 + 0x22]
  6770. 00004736  2800                     move.l     D4, D0
  6771. 00004738  554F                     subq.w     A7, 2
  6772. 0000473A  3F06                     move.w     -[A7], D6
  6773. 0000473C  3F3C 0001                move.w     -[A7], 0x1
  6774. 00004740  2F04                     move.l     -[A7], D4
  6775. 00004742  4EAD D9F4                jsr        [A5 - 0x260C]
  6776. 00004746  301F                     move.w     D0, [A7]+
  6777. 00004748  3600                     move.w     D3, D0
  6778. 0000474A  670A                     beq        +0xC /* 00004756 */
  6779. 0000474C  3003                     move.w     D0, D3
  6780. 0000474E  584F                     addq.w     A7, 4
  6781. 00004750  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  6782. 00004754  4E75                     rts
  6783. label00004756:
  6784. 00004756  2004                     move.l     D0, D4
  6785. 00004758  D0AD B4E8                add.l      D0, [A5 - 0x4B18]
  6786. 0000475C  B085                     cmp.l      D0, D5
  6787. 0000475E  6308                     bls        +0xA /* 00004768 */
  6788. 00004760  2005                     move.l     D0, D5
  6789. 00004762  9084                     sub.l      D0, D4
  6790. 00004764  2E80                     move.l     [A7], D0
  6791. 00004766  6004                     bra        +0x6 /* 0000476C */
  6792. label00004768:
  6793. 00004768  2EAD B4E8                move.l     [A7], [A5 - 0x4B18]
  6794. label0000476C:
  6795. 0000476C  204A                     movea.l    A0, A2
  6796. 0000476E  2017                     move.l     D0, [A7]
  6797. 00004770  A027                     syscall    ReallocateHandle
  6798. 00004772  554F                     subq.w     A7, 2
  6799. 00004774  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  6800. 00004778  301F                     move.w     D0, [A7]+
  6801. 0000477A  3600                     move.w     D3, D0
  6802. 0000477C  670A                     beq        +0xC /* 00004788 */
  6803. 0000477E  3003                     move.w     D0, D3
  6804. 00004780  584F                     addq.w     A7, 4
  6805. 00004782  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  6806. 00004786  4E75                     rts
  6807. label00004788:
  6808. 00004788  554F                     subq.w     A7, 2
  6809. 0000478A  3F06                     move.w     -[A7], D6
  6810. 0000478C  486F 0004                pea.l      [A7 + 0x4]
  6811. 00004790  2F0A                     move.l     -[A7], A2
  6812. 00004792  4EAD DD80                jsr        [A5 - 0x2280]
  6813. 00004796  584F                     addq.w     A7, 4
  6814. 00004798  2F08                     move.l     -[A7], A0
  6815. 0000479A  4EAD D9D0                jsr        [A5 - 0x2630]
  6816. 0000479E  301F                     move.w     D0, [A7]+
  6817. 000047A0  3600                     move.w     D3, D0
  6818. 000047A2  2F0A                     move.l     -[A7], A2
  6819. 000047A4  4EAD DD88                jsr        [A5 - 0x2278]
  6820. 000047A8  4A43                     tst.w      D3
  6821. 000047AA  584F                     addq.w     A7, 4
  6822. 000047AC  6606                     bne        +0x8 /* 000047B4 */
  6823. 000047AE  204A                     movea.l    A0, A2
  6824. 000047B0  A049                     syscall    HPurge
  6825. 000047B2  6004                     bra        +0x6 /* 000047B8 */
  6826. label000047B4:
  6827. 000047B4  204A                     movea.l    A0, A2
  6828. 000047B6  A02B                     syscall    EmptyHandle
  6829. label000047B8:
  6830. 000047B8  3003                     move.w     D0, D3
  6831. 000047BA  584F                     addq.w     A7, 4
  6832. 000047BC  4CDF 0478                movem.l    D3,D4,D5,D6,A2, [A7]+
  6833. 000047C0  4E75                     rts
  6834. 000047C2  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  6835. 000047C6  2F6F 0014 0008           move.l     [A7 + 0x8], [A7 + 0x14]
  6836. 000047CC  554F                     subq.w     A7, 2
  6837. 000047CE  486F 0002                pea.l      [A7 + 0x2]
  6838. 000047D2  486F 0012                pea.l      [A7 + 0x12]
  6839. 000047D6  4878 000C                push.l     0xC
  6840. 000047DA  4EAD DA36                jsr        [A5 - 0x25CA]
  6841. 000047DE  301F                     move.w     D0, [A7]+
  6842. 000047E0  660A                     bne        +0xC /* 000047EC */
  6843. 000047E2  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  6844. 000047E6  4EBA 011E                jsr        [PC + 0x11E /* 00004906 */]
  6845. 000047EA  584F                     addq.w     A7, 4
  6846. label000047EC:
  6847. 000047EC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6848. 000047F0  4E75                     rts
  6849. 000047F2  2F0A                     move.l     -[A7], A2
  6850. 000047F4  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  6851. 000047F8  4EBA 0174                jsr        [PC + 0x174 /* 0000496E */]
  6852. 000047FC  2448                     movea.l    A2, A0
  6853. 000047FE  200A                     move.l     D0, A2
  6854. 00004800  584F                     addq.w     A7, 4
  6855. 00004802  670C                     beq        +0xE /* 00004810 */
  6856. 00004804  2F0A                     move.l     -[A7], A2
  6857. 00004806  4EBA 012A                jsr        [PC + 0x12A /* 00004932 */]
  6858. 0000480A  204A                     movea.l    A0, A2
  6859. 0000480C  A023                     syscall    DisposHandle/DisposeHandle
  6860. 0000480E  584F                     addq.w     A7, 4
  6861. label00004810:
  6862. 00004810  245F                     movea.l    A2, [A7]+
  6863. 00004812  4E75                     rts
  6864. 00004814  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  6865. 00004818  4FEF FEFE                lea.l      A7, [A7 - 0x102]
  6866. 0000481C  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  6867. 00004820  42A7                     clr.l      -[A7]
  6868. 00004822  4EAD E118                jsr        [A5 - 0x1EE8]
  6869. 00004826  2448                     movea.l    A2, A0
  6870. 00004828  200A                     move.l     D0, A2
  6871. 0000482A  504F                     addq.w     A7, 8
  6872. 0000482C  6700 0086                beq        +0x88 /* 000048B4 */
  6873. 00004830  2F0A                     move.l     -[A7], A2
  6874. 00004832  4EBA 015E                jsr        [PC + 0x15E /* 00004992 */]
  6875. 00004836  2C00                     move.l     D6, D0
  6876. 00004838  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  6877. 0000483C  4E90                     jsr        [A0]
  6878. 0000483E  205F                     movea.l    A0, [A7]+
  6879. 00004840  2A08                     move.l     D5, A0
  6880. 00004842  266D 8AA4                movea.l    A3, [A5 - 0x755C]
  6881. 00004846  554F                     subq.w     A7, 2
  6882. 00004848  2F0A                     move.l     -[A7], A2
  6883. 0000484A  A950                     syscall    CountMItems
  6884. 0000484C  301F                     move.w     D0, [A7]+
  6885. 0000484E  3600                     move.w     D3, D0
  6886. 00004850  1F7C 0001 0100           move.b     [A7 + 0x100], 0x1
  6887. 00004856  1F7C 002D 0101           move.b     [A7 + 0x101], 0x2D /* '-' */
  6888. 0000485C  4A86                     tst.l      D6
  6889. 0000485E  6604                     bne        +0x6 /* 00004864 */
  6890. 00004860  7000                     moveq.l    D0, 0x00
  6891. 00004862  6002                     bra        +0x4 /* 00004866 */
  6892. label00004864:
  6893. 00004864  7001                     moveq.l    D0, 0x01
  6894. label00004866:
  6895. 00004866  7200                     moveq.l    D1, 0x00
  6896. 00004868  1200                     move.b     D1, D0
  6897. 0000486A  2801                     move.l     D4, D1
  6898. 0000486C  6042                     bra        +0x44 /* 000048B0 */
  6899. label0000486E:
  6900. 0000486E  2853                     movea.l    A4, [A3]
  6901. 00004870  2C6C 0008                movea.l    A6, [A4 + 0x8]
  6902. 00004874  2654                     movea.l    A3, [A4]
  6903. 00004876  4A84                     tst.l      D4
  6904. 00004878  670C                     beq        +0xE /* 00004886 */
  6905. 0000487A  2F0A                     move.l     -[A7], A2
  6906. 0000487C  486F 0104                pea.l      [A7 + 0x104]
  6907. 00004880  A933                     syscall    AppendMenu
  6908. 00004882  7800                     moveq.l    D4, 0x00
  6909. 00004884  5243                     addq.w     D3, 1
  6910. label00004886:
  6911. 00004886  2F0A                     move.l     -[A7], A2
  6912. 00004888  486F 0104                pea.l      [A7 + 0x104]
  6913. 0000488C  A933                     syscall    AppendMenu
  6914. 0000488E  2F0E                     move.l     -[A7], A6
  6915. 00004890  486F 0004                pea.l      [A7 + 0x4]
  6916. 00004894  A919                     syscall    GetWTitle
  6917. 00004896  2F0A                     move.l     -[A7], A2
  6918. 00004898  5243                     addq.w     D3, 1
  6919. 0000489A  3F03                     move.w     -[A7], D3
  6920. 0000489C  486F 0006                pea.l      [A7 + 0x6]
  6921. 000048A0  A947                     syscall    SetMenuItemText/SetItem
  6922. 000048A2  BDC5                     cmpa.l     A6, D5
  6923. 000048A4  660A                     bne        +0xC /* 000048B0 */
  6924. 000048A6  2F0A                     move.l     -[A7], A2
  6925. 000048A8  3F03                     move.w     -[A7], D3
  6926. 000048AA  1F3C 0001                move.b     -[A7], 0x1
  6927. 000048AE  A945                     syscall    CheckItem
  6928. label000048B0:
  6929. 000048B0  200B                     move.l     D0, A3
  6930. 000048B2  66BA                     bne        -0x44 /* 0000486E */
  6931. label000048B4:
  6932. 000048B4  4FEF 0102                lea.l      A7, [A7 + 0x102]
  6933. 000048B8  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  6934. 000048BC  4E75                     rts
  6935. 000048BE  48E7 1820                movem.l    -[A7], D3,D4,A2
  6936. 000048C2  262F 0010                move.l     D3, [A7 + 0x10]
  6937. 000048C6  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  6938. 000048CA  42A7                     clr.l      -[A7]
  6939. 000048CC  4EAD E120                jsr        [A5 - 0x1EE0]
  6940. 000048D0  48C0                     ext.l      D0
  6941. 000048D2  2800                     move.l     D4, D0
  6942. 000048D4  4A84                     tst.l      D4
  6943. 000048D6  504F                     addq.w     A7, 8
  6944. 000048D8  6702                     beq        +0x4 /* 000048DC */
  6945. 000048DA  5284                     addq.l     D4, 1
  6946. label000048DC:
  6947. 000048DC  2004                     move.l     D0, D4
  6948. 000048DE  5280                     addq.l     D0, 1
  6949. 000048E0  9680                     sub.l      D3, D0
  6950. 000048E2  246D 8AA4                movea.l    A2, [A5 - 0x755C]
  6951. 000048E6  6004                     bra        +0x6 /* 000048EC */
  6952. label000048E8:
  6953. 000048E8  2052                     movea.l    A0, [A2]
  6954. 000048EA  2450                     movea.l    A2, [A0]
  6955. label000048EC:
  6956. 000048EC  2003                     move.l     D0, D3
  6957. 000048EE  5383                     subq.l     D3, 1
  6958. 000048F0  4A80                     tst.l      D0
  6959. 000048F2  66F4                     bne        -0xA /* 000048E8 */
  6960. 000048F4  2052                     movea.l    A0, [A2]
  6961. 000048F6  2F28 0008                move.l     -[A7], [A0 + 0x8]
  6962. 000048FA  206D 133A                movea.l    A0, [A5 + 0x133A /* export_611 */]
  6963. 000048FE  4E90                     jsr        [A0]
  6964. 00004900  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  6965. 00004904  4E75                     rts
  6966. fn00004906:
  6967. 00004906  2F0B                     move.l     -[A7], A3
  6968. 00004908  226F 0008                movea.l    A1, [A7 + 0x8]
  6969. 0000490C  2651                     movea.l    A3, [A1]
  6970. 0000490E  276D 8AA0 0004           move.l     [A3 + 0x4], [A5 - 0x7560]
  6971. 00004914  4293                     clr.l      [A3]
  6972. 00004916  4AAD 8AA0                tst.l      [A5 - 0x7560]
  6973. 0000491A  670A                     beq        +0xC /* 00004926 */
  6974. 0000491C  206D 8AA0                movea.l    A0, [A5 - 0x7560]
  6975. 00004920  2050                     movea.l    A0, [A0]
  6976. 00004922  2089                     move.l     [A0], A1
  6977. 00004924  6004                     bra        +0x6 /* 0000492A */
  6978. label00004926:
  6979. 00004926  2B49 8AA4                move.l     [A5 - 0x755C], A1
  6980. label0000492A:
  6981. 0000492A  2B49 8AA0                move.l     [A5 - 0x7560], A1
  6982. 0000492E  265F                     movea.l    A3, [A7]+
  6983. 00004930  4E75                     rts
  6984. fn00004932:
  6985. 00004932  48E7 001A                movem.l    -[A7], A3,A4,A6
  6986. 00004936  2C6F 0010                movea.l    A6, [A7 + 0x10]
  6987. 0000493A  2856                     movea.l    A4, [A6]
  6988. 0000493C  226C 0004                movea.l    A1, [A4 + 0x4]
  6989. 00004940  2654                     movea.l    A3, [A4]
  6990. 00004942  2009                     move.l     D0, A1
  6991. 00004944  6704                     beq        +0x6 /* 0000494A */
  6992. 00004946  2051                     movea.l    A0, [A1]
  6993. 00004948  208B                     move.l     [A0], A3
  6994. label0000494A:
  6995. 0000494A  200B                     move.l     D0, A3
  6996. 0000494C  6706                     beq        +0x8 /* 00004954 */
  6997. 0000494E  2053                     movea.l    A0, [A3]
  6998. 00004950  2149 0004                move.l     [A0 + 0x4], A1
  6999. label00004954:
  7000. 00004954  BDED 8AA0                cmpa.l     A6, [A5 - 0x7560]
  7001. 00004958  6604                     bne        +0x6 /* 0000495E */
  7002. 0000495A  2B49 8AA0                move.l     [A5 - 0x7560], A1
  7003. label0000495E:
  7004. 0000495E  BDED 8AA4                cmpa.l     A6, [A5 - 0x755C]
  7005. 00004962  6604                     bne        +0x6 /* 00004968 */
  7006. 00004964  2B4B 8AA4                move.l     [A5 - 0x755C], A3
  7007. label00004968:
  7008. 00004968  4CDF 5800                movem.l    A3,A4,A6, [A7]+
  7009. 0000496C  4E75                     rts
  7010. fn0000496E:
  7011. 0000496E  2F0C                     move.l     -[A7], A4
  7012. 00004970  286F 0008                movea.l    A4, [A7 + 0x8]
  7013. 00004974  206D 8AA4                movea.l    A0, [A5 - 0x755C]
  7014. 00004978  600E                     bra        +0x10 /* 00004988 */
  7015. label0000497A:
  7016. 0000497A  2250                     movea.l    A1, [A0]
  7017. 0000497C  B9E9 0008                cmpa.l     A4, [A1 + 0x8]
  7018. 00004980  6604                     bne        +0x6 /* 00004986 */
  7019. 00004982  285F                     movea.l    A4, [A7]+
  7020. 00004984  4E75                     rts
  7021. label00004986:
  7022. 00004986  2051                     movea.l    A0, [A1]
  7023. label00004988:
  7024. 00004988  2008                     move.l     D0, A0
  7025. 0000498A  66EE                     bne        -0x10 /* 0000497A */
  7026. 0000498C  91C8                     sub.l      A0, A0
  7027. 0000498E  285F                     movea.l    A4, [A7]+
  7028. 00004990  4E75                     rts
  7029. fn00004992:
  7030. 00004992  48E7 1820                movem.l    -[A7], D3,D4,A2
  7031. 00004996  246F 0010                movea.l    A2, [A7 + 0x10]
  7032. 0000499A  2F2D 880A                move.l     -[A7], [A5 - 0x77F6]
  7033. 0000499E  42A7                     clr.l      -[A7]
  7034. 000049A0  4EAD E120                jsr        [A5 - 0x1EE0]
  7035. 000049A4  48C0                     ext.l      D0
  7036. 000049A6  2600                     move.l     D3, D0
  7037. 000049A8  2F0A                     move.l     -[A7], A2
  7038. 000049AA  A950                     syscall    CountMItems
  7039. 000049AC  301F                     move.w     D0, [A7]+
  7040. 000049AE  48C0                     ext.l      D0
  7041. 000049B0  9083                     sub.l      D0, D3
  7042. 000049B2  2800                     move.l     D4, D0
  7043. 000049B4  5C4F                     addq.w     A7, 6
  7044. 000049B6  600A                     bra        +0xC /* 000049C2 */
  7045. label000049B8:
  7046. 000049B8  2F0A                     move.l     -[A7], A2
  7047. 000049BA  2003                     move.l     D0, D3
  7048. 000049BC  5280                     addq.l     D0, 1
  7049. 000049BE  3F00                     move.w     -[A7], D0
  7050. 000049C0  A952                     syscall    DeleteMenuItem/DelMenuItem
  7051. label000049C2:
  7052. 000049C2  2004                     move.l     D0, D4
  7053. 000049C4  5384                     subq.l     D4, 1
  7054. 000049C6  4A80                     tst.l      D0
  7055. 000049C8  66EE                     bne        -0x10 /* 000049B8 */
  7056. 000049CA  2003                     move.l     D0, D3
  7057. 000049CC  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  7058. 000049D0  4E75                     rts
  7059. fn000049D2:
  7060. 000049D2  48E7 1020                movem.l    -[A7], D3,A2
  7061. 000049D6  246F 000C                movea.l    A2, [A7 + 0xC]
  7062. 000049DA  262F 0012                move.l     D3, [A7 + 0x12]
  7063. 000049DE  426A 003A                clr.w      [A2 + 0x3A]
  7064. 000049E2  41ED B4EC                lea.l      A0, [A5 - 0x4B14]
  7065. 000049E6  2488                     move.l     [A2], A0
  7066. 000049E8  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  7067. 000049EC  486A 0004                pea.l      [A2 + 0x4]
  7068. 000049F0  4EBA 05BA                jsr        [PC + 0x5BA /* 00004FAC */]
  7069. 000049F4  526A 003A                addq.w     [A2 + 0x3A], 1
  7070. 000049F8  2003                     move.l     D0, D3
  7071. 000049FA  5280                     addq.l     D0, 1
  7072. 000049FC  2F00                     move.l     -[A7], D0
  7073. 000049FE  4878 0020                push.l     0x20 /* ' ' */
  7074. 00004A02  486A 000A                pea.l      [A2 + 0xA]
  7075. 00004A06  4EBA 0530                jsr        [PC + 0x530 /* 00004F38 */]
  7076. 00004A0A  526A 003A                addq.w     [A2 + 0x3A], 1
  7077. 00004A0E  4878 0001                push.l     0x1
  7078. 00004A12  4878 002B                push.l     0x2B /* '+' */
  7079. 00004A16  486A 0012                pea.l      [A2 + 0x12]
  7080. 00004A1A  4EBA 051C                jsr        [PC + 0x51C /* 00004F38 */]
  7081. 00004A1E  7012                     moveq.l    D0, 0x12
  7082. 00004A20  5272 0804                addq.w     [A2 + D0 + 0x4], 1
  7083. 00004A24  526A 003A                addq.w     [A2 + 0x3A], 1
  7084. 00004A28  4878 0001                push.l     0x1
  7085. 00004A2C  4878 002A                push.l     0x2A /* '*' */
  7086. 00004A30  486A 001A                pea.l      [A2 + 0x1A]
  7087. 00004A34  4EBA 0502                jsr        [PC + 0x502 /* 00004F38 */]
  7088. 00004A38  701A                     moveq.l    D0, 0x1A
  7089. 00004A3A  5272 0804                addq.w     [A2 + D0 + 0x4], 1
  7090. 00004A3E  526A 003A                addq.w     [A2 + 0x3A], 1
  7091. 00004A42  4878 0001                push.l     0x1
  7092. 00004A46  4878 002C                push.l     0x2C /* ',' */
  7093. 00004A4A  486A 0022                pea.l      [A2 + 0x22]
  7094. 00004A4E  4EBA 04E8                jsr        [PC + 0x4E8 /* 00004F38 */]
  7095. 00004A52  526A 003A                addq.w     [A2 + 0x3A], 1
  7096. 00004A56  2003                     move.l     D0, D3
  7097. 00004A58  5280                     addq.l     D0, 1
  7098. 00004A5A  2F00                     move.l     -[A7], D0
  7099. 00004A5C  4878 002D                push.l     0x2D /* '-' */
  7100. 00004A60  486A 002A                pea.l      [A2 + 0x2A]
  7101. 00004A64  4EBA 04D2                jsr        [PC + 0x4D2 /* 00004F38 */]
  7102. 00004A68  702A                     moveq.l    D0, 0x2A
  7103. 00004A6A  5272 0804                addq.w     [A2 + D0 + 0x4], 1
  7104. 00004A6E  526A 003A                addq.w     [A2 + 0x3A], 1
  7105. 00004A72  4878 0001                push.l     0x1
  7106. 00004A76  4878 0034                push.l     0x34 /* '4' */
  7107. 00004A7A  486A 0032                pea.l      [A2 + 0x32]
  7108. 00004A7E  4EBA 04B8                jsr        [PC + 0x4B8 /* 00004F38 */]
  7109. 00004A82  7032                     moveq.l    D0, 0x32
  7110. 00004A84  5272 0804                addq.w     [A2 + D0 + 0x4], 1
  7111. 00004A88  526A 003A                addq.w     [A2 + 0x3A], 1
  7112. 00004A8C  526A 003A                addq.w     [A2 + 0x3A], 1
  7113. 00004A90  204A                     movea.l    A0, A2
  7114. 00004A92  4FEF 004E                lea.l      A7, [A7 + 0x4E]
  7115. 00004A96  4CDF 0408                movem.l    D3,A2, [A7]+
  7116. 00004A9A  4E75                     rts
  7117. fn00004A9C:
  7118. 00004A9C  2F0A                     move.l     -[A7], A2
  7119. 00004A9E  246F 0008                movea.l    A2, [A7 + 0x8]
  7120. 00004AA2  200A                     move.l     D0, A2
  7121. 00004AA4  6700 00B0                beq        +0xB2 /* 00004B56 */
  7122. 00004AA8  41ED B4EC                lea.l      A0, [A5 - 0x4B14]
  7123. 00004AAC  2488                     move.l     [A2], A0
  7124. 00004AAE  0C6A 0008 003A           cmpi.w     [A2 + 0x3A], 0x8
  7125. 00004AB4  6410                     bcc        +0x12 /* 00004AC6 */
  7126. 00004AB6  302A 003A                move.w     D0, [A2 + 0x3A]
  7127. 00004ABA  5340                     subq.w     D0, 1
  7128. 00004ABC  0C40 0006                cmpi.w     D0, 0x6
  7129. 00004AC0  6200 0086                bhi        +0x88 /* 00004B48 */
  7130. 00004AC4  4E71                     nop
  7131. label00004AC6:
  7132. 00004AC6  204A                     movea.l    A0, A2
  7133. 00004AC8  41E8 0032                lea.l      A0, [A0 + 0x32]
  7134. 00004ACC  2008                     move.l     D0, A0
  7135. 00004ACE  670C                     beq        +0xE /* 00004ADC */
  7136. 00004AD0  4267                     clr.w      -[A7]
  7137. 00004AD2  486A 0032                pea.l      [A2 + 0x32]
  7138. 00004AD6  4EBA 048E                jsr        [PC + 0x48E /* 00004F66 */]
  7139. 00004ADA  5C4F                     addq.w     A7, 6
  7140. label00004ADC:
  7141. 00004ADC  204A                     movea.l    A0, A2
  7142. 00004ADE  41E8 002A                lea.l      A0, [A0 + 0x2A]
  7143. 00004AE2  2008                     move.l     D0, A0
  7144. 00004AE4  670C                     beq        +0xE /* 00004AF2 */
  7145. 00004AE6  4267                     clr.w      -[A7]
  7146. 00004AE8  486A 002A                pea.l      [A2 + 0x2A]
  7147. 00004AEC  4EBA 0478                jsr        [PC + 0x478 /* 00004F66 */]
  7148. 00004AF0  5C4F                     addq.w     A7, 6
  7149. label00004AF2:
  7150. 00004AF2  3F3C FFFF                move.w     -[A7], 0xFFFF
  7151. 00004AF6  486A 0022                pea.l      [A2 + 0x22]
  7152. 00004AFA  4EBA 046A                jsr        [PC + 0x46A /* 00004F66 */]
  7153. 00004AFE  204A                     movea.l    A0, A2
  7154. 00004B00  41E8 001A                lea.l      A0, [A0 + 0x1A]
  7155. 00004B04  2008                     move.l     D0, A0
  7156. 00004B06  5C4F                     addq.w     A7, 6
  7157. 00004B08  670C                     beq        +0xE /* 00004B16 */
  7158. 00004B0A  4267                     clr.w      -[A7]
  7159. 00004B0C  486A 001A                pea.l      [A2 + 0x1A]
  7160. 00004B10  4EBA 0454                jsr        [PC + 0x454 /* 00004F66 */]
  7161. 00004B14  5C4F                     addq.w     A7, 6
  7162. label00004B16:
  7163. 00004B16  204A                     movea.l    A0, A2
  7164. 00004B18  41E8 0012                lea.l      A0, [A0 + 0x12]
  7165. 00004B1C  2008                     move.l     D0, A0
  7166. 00004B1E  670C                     beq        +0xE /* 00004B2C */
  7167. 00004B20  4267                     clr.w      -[A7]
  7168. 00004B22  486A 0012                pea.l      [A2 + 0x12]
  7169. 00004B26  4EBA 043E                jsr        [PC + 0x43E /* 00004F66 */]
  7170. 00004B2A  5C4F                     addq.w     A7, 6
  7171. label00004B2C:
  7172. 00004B2C  3F3C FFFF                move.w     -[A7], 0xFFFF
  7173. 00004B30  486A 000A                pea.l      [A2 + 0xA]
  7174. 00004B34  4EBA 0430                jsr        [PC + 0x430 /* 00004F66 */]
  7175. 00004B38  3F3C FFFF                move.w     -[A7], 0xFFFF
  7176. 00004B3C  486A 0004                pea.l      [A2 + 0x4]
  7177. 00004B40  4EBA 048E                jsr        [PC + 0x48E /* 00004FD0 */]
  7178. 00004B44  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7179. label00004B48:
  7180. 00004B48  4A6F 000C                tst.w      [A7 + 0xC]
  7181. 00004B4C  6F08                     ble        +0xA /* 00004B56 */
  7182. 00004B4E  2F0A                     move.l     -[A7], A2
  7183. 00004B50  4EAD D9A0                jsr        [A5 - 0x2660]
  7184. 00004B54  584F                     addq.w     A7, 4
  7185. label00004B56:
  7186. 00004B56  204A                     movea.l    A0, A2
  7187. 00004B58  245F                     movea.l    A2, [A7]+
  7188. 00004B5A  4E75                     rts
  7189. fn00004B5C:
  7190. 00004B5C  2F0A                     move.l     -[A7], A2
  7191. 00004B5E  246F 0008                movea.l    A2, [A7 + 0x8]
  7192. 00004B62  486A 000A                pea.l      [A2 + 0xA]
  7193. 00004B66  4EBA 042A                jsr        [PC + 0x42A /* 00004F92 */]
  7194. 00004B6A  4A80                     tst.l      D0
  7195. 00004B6C  584F                     addq.w     A7, 4
  7196. 00004B6E  664A                     bne        +0x4C /* 00004BBA */
  7197. 00004B70  486A 0012                pea.l      [A2 + 0x12]
  7198. 00004B74  4EBA 041C                jsr        [PC + 0x41C /* 00004F92 */]
  7199. 00004B78  4A80                     tst.l      D0
  7200. 00004B7A  584F                     addq.w     A7, 4
  7201. 00004B7C  663C                     bne        +0x3E /* 00004BBA */
  7202. 00004B7E  486A 001A                pea.l      [A2 + 0x1A]
  7203. 00004B82  4EBA 040E                jsr        [PC + 0x40E /* 00004F92 */]
  7204. 00004B86  4A80                     tst.l      D0
  7205. 00004B88  584F                     addq.w     A7, 4
  7206. 00004B8A  662E                     bne        +0x30 /* 00004BBA */
  7207. 00004B8C  486A 0022                pea.l      [A2 + 0x22]
  7208. 00004B90  4EBA 0400                jsr        [PC + 0x400 /* 00004F92 */]
  7209. 00004B94  4A80                     tst.l      D0
  7210. 00004B96  584F                     addq.w     A7, 4
  7211. 00004B98  6620                     bne        +0x22 /* 00004BBA */
  7212. 00004B9A  486A 002A                pea.l      [A2 + 0x2A]
  7213. 00004B9E  4EBA 03F2                jsr        [PC + 0x3F2 /* 00004F92 */]
  7214. 00004BA2  4A80                     tst.l      D0
  7215. 00004BA4  584F                     addq.w     A7, 4
  7216. 00004BA6  6612                     bne        +0x14 /* 00004BBA */
  7217. 00004BA8  486A 0032                pea.l      [A2 + 0x32]
  7218. 00004BAC  4EBA 03E4                jsr        [PC + 0x3E4 /* 00004F92 */]
  7219. 00004BB0  4A80                     tst.l      D0
  7220. 00004BB2  584F                     addq.w     A7, 4
  7221. 00004BB4  6604                     bne        +0x6 /* 00004BBA */
  7222. 00004BB6  7000                     moveq.l    D0, 0x00
  7223. 00004BB8  6002                     bra        +0x4 /* 00004BBC */
  7224. label00004BBA:
  7225. 00004BBA  7001                     moveq.l    D0, 0x01
  7226. label00004BBC:
  7227. 00004BBC  245F                     movea.l    A2, [A7]+
  7228. 00004BBE  4E75                     rts
  7229. 00004BC0  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  7230. 00004BC4  4FEF FFDC                lea.l      A7, [A7 - 0x24]
  7231. 00004BC8  266F 004C                movea.l    A3, [A7 + 0x4C]
  7232. 00004BCC  2A2F 0050                move.l     D5, [A7 + 0x50]
  7233. 00004BD0  282F 0054                move.l     D4, [A7 + 0x54]
  7234. 00004BD4  486B 000A                pea.l      [A3 + 0xA]
  7235. 00004BD8  4EBA 03C8                jsr        [PC + 0x3C8 /* 00004FA2 */]
  7236. 00004BDC  2F48 0014                move.l     [A7 + 0x14], A0
  7237. 00004BE0  486B 0012                pea.l      [A3 + 0x12]
  7238. 00004BE4  4EBA 03BC                jsr        [PC + 0x3BC /* 00004FA2 */]
  7239. 00004BE8  2F48 0014                move.l     [A7 + 0x14], A0
  7240. 00004BEC  486B 001A                pea.l      [A3 + 0x1A]
  7241. 00004BF0  4EBA 03B0                jsr        [PC + 0x3B0 /* 00004FA2 */]
  7242. 00004BF4  2F48 0014                move.l     [A7 + 0x14], A0
  7243. 00004BF8  486B 0022                pea.l      [A3 + 0x22]
  7244. 00004BFC  4EBA 03A4                jsr        [PC + 0x3A4 /* 00004FA2 */]
  7245. 00004C00  2F48 0014                move.l     [A7 + 0x14], A0
  7246. 00004C04  486B 002A                pea.l      [A3 + 0x2A]
  7247. 00004C08  4EBA 0398                jsr        [PC + 0x398 /* 00004FA2 */]
  7248. 00004C0C  2448                     movea.l    A2, A0
  7249. 00004C0E  486B 0032                pea.l      [A3 + 0x32]
  7250. 00004C12  4EBA 038E                jsr        [PC + 0x38E /* 00004FA2 */]
  7251. 00004C16  2F48 0018                move.l     [A7 + 0x18], A0
  7252. 00004C1A  7EFF                     moveq.l    D7, 0xFFFFFFFF
  7253. 00004C1C  7600                     moveq.l    D3, 0x00
  7254. 00004C1E  9DCE                     sub.l      A6, A6
  7255. 00004C20  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7256. 00004C24  6000 01EA                bra        +0x1EC /* 00004E10 */
  7257. label00004C28:
  7258. 00004C28  3012                     move.w     D0, [A2]
  7259. 00004C2A  48C0                     ext.l      D0
  7260. 00004C2C  0C80 0000 0010           cmpi.l     D0, 0x10
  7261. 00004C32  6200 01D8                bhi        +0x1DA /* 00004E0C */
  7262. 00004C36  D040                     add.w      D0, D0
  7263. 00004C38  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  7264. 00004C3C  4EFB 0002                jmp        [PC + D0.w + 0x2]
  7265. 00004C40  00B6 00B6 00B6 00B6      ori.l      [A6 + D0.w - 0x74], 0xB600B6
  7266. 00004C48  00B6 003E 007A 01CC      ori.l      <<invalid full ext with I/IS == 4>>, 0x3E007A /* '>\0z' */
  7267. 00004C50  01CC                     bset       A4, D0
  7268. 00004C52  01CC                     bset       A4, D0
  7269. 00004C54  01CC                     bset       A4, D0
  7270. 00004C56  018C                     bclr       A4, D0
  7271. 00004C58  01CC                     bset       A4, D0
  7272. 00004C5A  01CC                     bset       A4, D0
  7273. 00004C5C  01CC                     bset       A4, D0
  7274. 00004C5E  01CC                     bset       A4, D0
  7275. 00004C60  0022 2F0B                ori.b      -[A2], 0xB
  7276. 00004C64  2057                     movea.l    A0, [A7]
  7277. 00004C66  2250                     movea.l    A1, [A0]
  7278. 00004C68  D1E9 0044                add.l      A0, [A1 + 0x44]
  7279. 00004C6C  2E88                     move.l     [A7], A0
  7280. 00004C6E  2269 0040                movea.l    A1, [A1 + 0x40]
  7281. 00004C72  4E91                     jsr        [A1]
  7282. 00004C74  7601                     moveq.l    D3, 0x01
  7283. 00004C76  2C43                     movea.l    A6, D3
  7284. 00004C78  584F                     addq.w     A7, 4
  7285. 00004C7A  6000 0190                bra        +0x192 /* 00004E0C */
  7286. 00004C7E  2F04                     move.l     -[A7], D4
  7287. 00004C80  2F05                     move.l     -[A7], D5
  7288. 00004C82  42A7                     clr.l      -[A7]
  7289. 00004C84  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  7290. 00004C88  4EBA 01A4                jsr        [PC + 0x1A4 /* 00004E2E */]
  7291. 00004C8C  4A80                     tst.l      D0
  7292. 00004C8E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7293. 00004C92  6700 0178                beq        +0x17A /* 00004E0C */
  7294. 00004C96  2F0B                     move.l     -[A7], A3
  7295. 00004C98  2057                     movea.l    A0, [A7]
  7296. 00004C9A  2250                     movea.l    A1, [A0]
  7297. 00004C9C  D1E9 0024                add.l      A0, [A1 + 0x24]
  7298. 00004CA0  2E88                     move.l     [A7], A0
  7299. 00004CA2  2269 0020                movea.l    A1, [A1 + 0x20]
  7300. 00004CA6  4E91                     jsr        [A1]
  7301. 00004CA8  4A80                     tst.l      D0
  7302. 00004CAA  57C0                     seq        D0
  7303. 00004CAC  4400                     neg.b      D0
  7304. 00004CAE  4880                     ext.w      D0
  7305. 00004CB0  48C0                     ext.l      D0
  7306. 00004CB2  2600                     move.l     D3, D0
  7307. 00004CB4  584F                     addq.w     A7, 4
  7308. 00004CB6  6000 0154                bra        +0x156 /* 00004E0C */
  7309. 00004CBA  2F04                     move.l     -[A7], D4
  7310. 00004CBC  2F05                     move.l     -[A7], D5
  7311. 00004CBE  42A7                     clr.l      -[A7]
  7312. 00004CC0  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  7313. 00004CC4  4EBA 0168                jsr        [PC + 0x168 /* 00004E2E */]
  7314. 00004CC8  4A80                     tst.l      D0
  7315. 00004CCA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7316. 00004CCE  6700 013C                beq        +0x13E /* 00004E0C */
  7317. 00004CD2  2F0B                     move.l     -[A7], A3
  7318. 00004CD4  2057                     movea.l    A0, [A7]
  7319. 00004CD6  2250                     movea.l    A1, [A0]
  7320. 00004CD8  D1E9 002C                add.l      A0, [A1 + 0x2C]
  7321. 00004CDC  2E88                     move.l     [A7], A0
  7322. 00004CDE  2269 0028                movea.l    A1, [A1 + 0x28]
  7323. 00004CE2  4E91                     jsr        [A1]
  7324. 00004CE4  4A80                     tst.l      D0
  7325. 00004CE6  57C0                     seq        D0
  7326. 00004CE8  4400                     neg.b      D0
  7327. 00004CEA  4880                     ext.w      D0
  7328. 00004CEC  48C0                     ext.l      D0
  7329. 00004CEE  2600                     move.l     D3, D0
  7330. 00004CF0  584F                     addq.w     A7, 4
  7331. 00004CF2  6000 0118                bra        +0x11A /* 00004E0C */
  7332. 00004CF6  2F04                     move.l     -[A7], D4
  7333. 00004CF8  2F05                     move.l     -[A7], D5
  7334. 00004CFA  2F2A 000A                move.l     -[A7], [A2 + 0xA]
  7335. 00004CFE  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  7336. 00004D02  4EBA 012A                jsr        [PC + 0x12A /* 00004E2E */]
  7337. 00004D06  4A80                     tst.l      D0
  7338. 00004D08  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7339. 00004D0C  6700 00FE                beq        +0x100 /* 00004E0C */
  7340. 00004D10  BEAA 000E                cmp.l      D7, [A2 + 0xE]
  7341. 00004D14  674E                     beq        +0x50 /* 00004D64 */
  7342. 00004D16  2E2A 000E                move.l     D7, [A2 + 0xE]
  7343. 00004D1A  202A 000E                move.l     D0, [A2 + 0xE]
  7344. 00004D1E  E988                     lsl        D0, 4
  7345. 00004D20  286F 000C                movea.l    A4, [A7 + 0xC]
  7346. 00004D24  D9C0                     add.l      A4, D0
  7347. 00004D26  3F2C 000E                move.w     -[A7], [A4 + 0xE]
  7348. 00004D2A  2F2C 0006                move.l     -[A7], [A4 + 0x6]
  7349. 00004D2E  2F0C                     move.l     -[A7], A4
  7350. 00004D30  206F 000E                movea.l    A0, [A7 + 0xE]
  7351. 00004D34  202C 000A                move.l     D0, [A4 + 0xA]
  7352. 00004D38  4870 0800                pea.l      [A0 + D0]
  7353. 00004D3C  2F0B                     move.l     -[A7], A3
  7354. 00004D3E  2057                     movea.l    A0, [A7]
  7355. 00004D40  2250                     movea.l    A1, [A0]
  7356. 00004D42  D1E9 0034                add.l      A0, [A1 + 0x34]
  7357. 00004D46  2E88                     move.l     [A7], A0
  7358. 00004D48  2269 0030                movea.l    A1, [A1 + 0x30]
  7359. 00004D4C  4E91                     jsr        [A1]
  7360. 00004D4E  4A80                     tst.l      D0
  7361. 00004D50  57C0                     seq        D0
  7362. 00004D52  4400                     neg.b      D0
  7363. 00004D54  4880                     ext.w      D0
  7364. 00004D56  48C0                     ext.l      D0
  7365. 00004D58  2600                     move.l     D3, D0
  7366. 00004D5A  4A83                     tst.l      D3
  7367. 00004D5C  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7368. 00004D60  6600 00AA                bne        +0xAC /* 00004E0C */
  7369. label00004D64:
  7370. 00004D64  2F45 001C                move.l     [A7 + 0x1C], D5
  7371. 00004D68  2F6A 0006 0020           move.l     [A7 + 0x20], [A2 + 0x6]
  7372. 00004D6E  202F 0020                move.l     D0, [A7 + 0x20]
  7373. 00004D72  B085                     cmp.l      D0, D5
  7374. 00004D74  6E06                     bgt        +0x8 /* 00004D7C */
  7375. 00004D76  41EF 001C                lea.l      A0, [A7 + 0x1C]
  7376. 00004D7A  6004                     bra        +0x6 /* 00004D80 */
  7377. label00004D7C:
  7378. 00004D7C  41EF 0020                lea.l      A0, [A7 + 0x20]
  7379. label00004D80:
  7380. 00004D80  2010                     move.l     D0, [A0]
  7381. 00004D82  2C00                     move.l     D6, D0
  7382. 00004D84  2F44 0014                move.l     [A7 + 0x14], D4
  7383. 00004D88  202A 0006                move.l     D0, [A2 + 0x6]
  7384. 00004D8C  D0AA 000A                add.l      D0, [A2 + 0xA]
  7385. 00004D90  2F40 0018                move.l     [A7 + 0x18], D0
  7386. 00004D94  B084                     cmp.l      D0, D4
  7387. 00004D96  6D06                     blt        +0x8 /* 00004D9E */
  7388. 00004D98  41EF 0014                lea.l      A0, [A7 + 0x14]
  7389. 00004D9C  6004                     bra        +0x6 /* 00004DA2 */
  7390. label00004D9E:
  7391. 00004D9E  41EF 0018                lea.l      A0, [A7 + 0x18]
  7392. label00004DA2:
  7393. 00004DA2  2010                     move.l     D0, [A0]
  7394. 00004DA4  2840                     movea.l    A4, D0
  7395. 00004DA6  200C                     move.l     D0, A4
  7396. 00004DA8  9086                     sub.l      D0, D6
  7397. 00004DAA  2F00                     move.l     -[A7], D0
  7398. 00004DAC  206F 0014                movea.l    A0, [A7 + 0x14]
  7399. 00004DB0  4870 6800                pea.l      [A0 + D6]
  7400. 00004DB4  2F0B                     move.l     -[A7], A3
  7401. 00004DB6  4EBA 010E                jsr        [PC + 0x10E /* 00004EC6 */]
  7402. 00004DBA  4A80                     tst.l      D0
  7403. 00004DBC  57C0                     seq        D0
  7404. 00004DBE  4400                     neg.b      D0
  7405. 00004DC0  4880                     ext.w      D0
  7406. 00004DC2  48C0                     ext.l      D0
  7407. 00004DC4  2600                     move.l     D3, D0
  7408. 00004DC6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7409. 00004DCA  6040                     bra        +0x42 /* 00004E0C */
  7410. 00004DCC  2F04                     move.l     -[A7], D4
  7411. 00004DCE  2F05                     move.l     -[A7], D5
  7412. 00004DD0  42A7                     clr.l      -[A7]
  7413. 00004DD2  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  7414. 00004DD6  4EBA 0056                jsr        [PC + 0x56 /* 00004E2E */]
  7415. 00004DDA  4A80                     tst.l      D0
  7416. 00004DDC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7417. 00004DE0  672A                     beq        +0x2C /* 00004E0C */
  7418. 00004DE2  2F17                     move.l     -[A7], [A7]
  7419. 00004DE4  202A 0012                move.l     D0, [A2 + 0x12]
  7420. 00004DE8  7216                     moveq.l    D1, 0x16
  7421. 00004DEA  4EAD D8F8                jsr        [A5 - 0x2708]
  7422. 00004DEE  206F 000C                movea.l    A0, [A7 + 0xC]
  7423. 00004DF2  D1C0                     add.l      A0, D0
  7424. 00004DF4  4850                     pea.l      [A0]
  7425. 00004DF6  2F0B                     move.l     -[A7], A3
  7426. 00004DF8  4EBA 0064                jsr        [PC + 0x64 /* 00004E5E */]
  7427. 00004DFC  4A80                     tst.l      D0
  7428. 00004DFE  57C0                     seq        D0
  7429. 00004E00  4400                     neg.b      D0
  7430. 00004E02  4880                     ext.w      D0
  7431. 00004E04  48C0                     ext.l      D0
  7432. 00004E06  2600                     move.l     D3, D0
  7433. 00004E08  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7434. label00004E0C:
  7435. 00004E0C  7016                     moveq.l    D0, 0x16
  7436. 00004E0E  D5C0                     add.l      A2, D0
  7437. label00004E10:
  7438. 00004E10  4A83                     tst.l      D3
  7439. 00004E12  6700 FE14                beq        -0x1EA /* 00004C28 */
  7440. 00004E16  200E                     move.l     D0, A6
  7441. 00004E18  4FEF 0024                lea.l      A7, [A7 + 0x24]
  7442. 00004E1C  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7443. 00004E20  4E75                     rts
  7444. 00004E22  7001                     moveq.l    D0, 0x01
  7445. 00004E24  4E75                     rts
  7446. 00004E26  7001                     moveq.l    D0, 0x01
  7447. 00004E28  4E75                     rts
  7448. 00004E2A  7001                     moveq.l    D0, 0x01
  7449. 00004E2C  4E75                     rts
  7450. fn00004E2E:
  7451. 00004E2E  594F                     subq.w     A7, 4
  7452. 00004E30  202F 0008                move.l     D0, [A7 + 0x8]
  7453. 00004E34  D0AF 000C                add.l      D0, [A7 + 0xC]
  7454. 00004E38  2E80                     move.l     [A7], D0
  7455. 00004E3A  B0AF 0010                cmp.l      D0, [A7 + 0x10]
  7456. 00004E3E  6C06                     bge        +0x8 /* 00004E46 */
  7457. 00004E40  7000                     moveq.l    D0, 0x00
  7458. 00004E42  584F                     addq.w     A7, 4
  7459. 00004E44  4E75                     rts
  7460. label00004E46:
  7461. 00004E46  202F 0008                move.l     D0, [A7 + 0x8]
  7462. 00004E4A  B0AF 0014                cmp.l      D0, [A7 + 0x14]
  7463. 00004E4E  6D06                     blt        +0x8 /* 00004E56 */
  7464. 00004E50  7000                     moveq.l    D0, 0x00
  7465. 00004E52  584F                     addq.w     A7, 4
  7466. 00004E54  4E75                     rts
  7467. label00004E56:
  7468. 00004E56  7001                     moveq.l    D0, 0x01
  7469. 00004E58  584F                     addq.w     A7, 4
  7470. 00004E5A  4E75                     rts
  7471. 00004E5C  4E75                     rts
  7472. fn00004E5E:
  7473. 00004E5E  2F0A                     move.l     -[A7], A2
  7474. 00004E60  4FEF FFEA                lea.l      A7, [A7 - 0x16]
  7475. 00004E64  246F 0022                movea.l    A2, [A7 + 0x22]
  7476. 00004E68  202A 0004                move.l     D0, [A2 + 0x4]
  7477. 00004E6C  D080                     add.l      D0, D0
  7478. 00004E6E  206F 0026                movea.l    A0, [A7 + 0x26]
  7479. 00004E72  D1C0                     add.l      A0, D0
  7480. 00004E74  2E88                     move.l     [A7], A0
  7481. 00004E76  2F52 0004                move.l     [A7 + 0x4], [A2]
  7482. 00004E7A  3F6A 0008 0008           move.w     [A7 + 0x8], [A2 + 0x8]
  7483. 00004E80  3F6A 000A 000A           move.w     [A7 + 0xA], [A2 + 0xA]
  7484. 00004E86  3F6A 000C 000C           move.w     [A7 + 0xC], [A2 + 0xC]
  7485. 00004E8C  3F6A 000E 000E           move.w     [A7 + 0xE], [A2 + 0xE]
  7486. 00004E92  3F6A 0010 0010           move.w     [A7 + 0x10], [A2 + 0x10]
  7487. 00004E98  3F6A 0012 0012           move.w     [A7 + 0x12], [A2 + 0x12]
  7488. 00004E9E  3F6A 0014 0014           move.w     [A7 + 0x14], [A2 + 0x14]
  7489. 00004EA4  4857                     pea.l      [A7]
  7490. 00004EA6  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  7491. 00004EAA  2057                     movea.l    A0, [A7]
  7492. 00004EAC  2250                     movea.l    A1, [A0]
  7493. 00004EAE  D1E9 003C                add.l      A0, [A1 + 0x3C]
  7494. 00004EB2  2E88                     move.l     [A7], A0
  7495. 00004EB4  2269 0038                movea.l    A1, [A1 + 0x38]
  7496. 00004EB8  4E91                     jsr        [A1]
  7497. 00004EBA  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  7498. 00004EBE  245F                     movea.l    A2, [A7]+
  7499. 00004EC0  4E75                     rts
  7500. 00004EC2  7001                     moveq.l    D0, 0x01
  7501. 00004EC4  4E75                     rts
  7502. fn00004EC6:
  7503. 00004EC6  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  7504. 00004ECA  2C6F 0018                movea.l    A6, [A7 + 0x18]
  7505. 00004ECE  246F 001C                movea.l    A2, [A7 + 0x1C]
  7506. 00004ED2  264A                     movea.l    A3, A2
  7507. 00004ED4  D7EF 0020                add.l      A3, [A7 + 0x20]
  7508. 00004ED8  6002                     bra        +0x4 /* 00004EDC */
  7509. label00004EDA:
  7510. 00004EDA  528A                     addq.l     A2, 1
  7511. label00004EDC:
  7512. 00004EDC  B5CB                     cmpa.l     A2, A3
  7513. 00004EDE  6448                     bcc        +0x4A /* 00004F28 */
  7514. 00004EE0  0C12 0001                cmpi.b     [A2], 0x1
  7515. 00004EE4  67F4                     beq        -0xA /* 00004EDA */
  7516. 00004EE6  6040                     bra        +0x42 /* 00004F28 */
  7517. label00004EE8:
  7518. 00004EE8  284A                     movea.l    A4, A2
  7519. 00004EEA  6002                     bra        +0x4 /* 00004EEE */
  7520. label00004EEC:
  7521. 00004EEC  528A                     addq.l     A2, 1
  7522. label00004EEE:
  7523. 00004EEE  B5CB                     cmpa.l     A2, A3
  7524. 00004EF0  6406                     bcc        +0x8 /* 00004EF8 */
  7525. 00004EF2  0C12 0001                cmpi.b     [A2], 0x1
  7526. 00004EF6  66F4                     bne        -0xA /* 00004EEC */
  7527. label00004EF8:
  7528. 00004EF8  204A                     movea.l    A0, A2
  7529. 00004EFA  91CC                     sub.l      A0, A4
  7530. 00004EFC  2608                     move.l     D3, A0
  7531. 00004EFE  4A83                     tst.l      D3
  7532. 00004F00  6726                     beq        +0x28 /* 00004F28 */
  7533. 00004F02  2F03                     move.l     -[A7], D3
  7534. 00004F04  2F0C                     move.l     -[A7], A4
  7535. 00004F06  2F0E                     move.l     -[A7], A6
  7536. 00004F08  2057                     movea.l    A0, [A7]
  7537. 00004F0A  2250                     movea.l    A1, [A0]
  7538. 00004F0C  D1E9 001C                add.l      A0, [A1 + 0x1C]
  7539. 00004F10  2E88                     move.l     [A7], A0
  7540. 00004F12  2269 0018                movea.l    A1, [A1 + 0x18]
  7541. 00004F16  4E91                     jsr        [A1]
  7542. 00004F18  4A80                     tst.l      D0
  7543. 00004F1A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7544. 00004F1E  6608                     bne        +0xA /* 00004F28 */
  7545. 00004F20  7000                     moveq.l    D0, 0x00
  7546. 00004F22  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  7547. 00004F26  4E75                     rts
  7548. label00004F28:
  7549. 00004F28  B5CB                     cmpa.l     A2, A3
  7550. 00004F2A  65BC                     bcs        -0x42 /* 00004EE8 */
  7551. 00004F2C  7001                     moveq.l    D0, 0x01
  7552. 00004F2E  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  7553. 00004F32  4E75                     rts
  7554. 00004F34  7001                     moveq.l    D0, 0x01
  7555. 00004F36  4E75                     rts
  7556. fn00004F38:
  7557. 00004F38  2F0A                     move.l     -[A7], A2
  7558. 00004F3A  246F 0008                movea.l    A2, [A7 + 0x8]
  7559. 00004F3E  426A 0004                clr.w      [A2 + 0x4]
  7560. 00004F42  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  7561. 00004F46  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  7562. 00004F4A  4EAD DC58                jsr        [A5 - 0x23A8]
  7563. 00004F4E  2488                     move.l     [A2], A0
  7564. 00004F50  4A92                     tst.l      [A2]
  7565. 00004F52  504F                     addq.w     A7, 8
  7566. 00004F54  6706                     beq        +0x8 /* 00004F5C */
  7567. 00004F56  2052                     movea.l    A0, [A2]
  7568. 00004F58  A064                     syscall    MoveHHi
  7569. 00004F5A  A029                     syscall    HLock
  7570. label00004F5C:
  7571. 00004F5C  526A 0004                addq.w     [A2 + 0x4], 1
  7572. 00004F60  204A                     movea.l    A0, A2
  7573. 00004F62  245F                     movea.l    A2, [A7]+
  7574. 00004F64  4E75                     rts
  7575. fn00004F66:
  7576. 00004F66  2F0A                     move.l     -[A7], A2
  7577. 00004F68  246F 0008                movea.l    A2, [A7 + 0x8]
  7578. 00004F6C  200A                     move.l     D0, A2
  7579. 00004F6E  671C                     beq        +0x1E /* 00004F8C */
  7580. 00004F70  4A6A 0004                tst.w      [A2 + 0x4]
  7581. 00004F74  6708                     beq        +0xA /* 00004F7E */
  7582. 00004F76  4A92                     tst.l      [A2]
  7583. 00004F78  6704                     beq        +0x6 /* 00004F7E */
  7584. 00004F7A  2052                     movea.l    A0, [A2]
  7585. 00004F7C  A02A                     syscall    HUnlock
  7586. label00004F7E:
  7587. 00004F7E  4A6F 000C                tst.w      [A7 + 0xC]
  7588. 00004F82  6F08                     ble        +0xA /* 00004F8C */
  7589. 00004F84  2F0A                     move.l     -[A7], A2
  7590. 00004F86  4EAD D9A0                jsr        [A5 - 0x2660]
  7591. 00004F8A  584F                     addq.w     A7, 4
  7592. label00004F8C:
  7593. 00004F8C  204A                     movea.l    A0, A2
  7594. 00004F8E  245F                     movea.l    A2, [A7]+
  7595. 00004F90  4E75                     rts
  7596. fn00004F92:
  7597. 00004F92  206F 0004                movea.l    A0, [A7 + 0x4]
  7598. 00004F96  4A90                     tst.l      [A0]
  7599. 00004F98  57C0                     seq        D0
  7600. 00004F9A  4400                     neg.b      D0
  7601. 00004F9C  4880                     ext.w      D0
  7602. 00004F9E  48C0                     ext.l      D0
  7603. 00004FA0  4E75                     rts
  7604. fn00004FA2:
  7605. 00004FA2  206F 0004                movea.l    A0, [A7 + 0x4]
  7606. 00004FA6  2050                     movea.l    A0, [A0]
  7607. 00004FA8  2050                     movea.l    A0, [A0]
  7608. 00004FAA  4E75                     rts
  7609. fn00004FAC:
  7610. 00004FAC  2F0A                     move.l     -[A7], A2
  7611. 00004FAE  246F 0008                movea.l    A2, [A7 + 0x8]
  7612. 00004FB2  426A 0002                clr.w      [A2 + 0x2]
  7613. 00004FB6  4EAD DB08                jsr        [A5 - 0x24F8]
  7614. 00004FBA  3480                     move.w     [A2], D0
  7615. 00004FBC  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  7616. 00004FC0  4EAD DB0E                jsr        [A5 - 0x24F2]
  7617. 00004FC4  526A 0002                addq.w     [A2 + 0x2], 1
  7618. 00004FC8  204A                     movea.l    A0, A2
  7619. 00004FCA  544F                     addq.w     A7, 2
  7620. 00004FCC  245F                     movea.l    A2, [A7]+
  7621. 00004FCE  4E75                     rts
  7622. fn00004FD0:
  7623. 00004FD0  2F0A                     move.l     -[A7], A2
  7624. 00004FD2  246F 0008                movea.l    A2, [A7 + 0x8]
  7625. 00004FD6  200A                     move.l     D0, A2
  7626. 00004FD8  671C                     beq        +0x1E /* 00004FF6 */
  7627. 00004FDA  4A6A 0002                tst.w      [A2 + 0x2]
  7628. 00004FDE  6708                     beq        +0xA /* 00004FE8 */
  7629. 00004FE0  3F12                     move.w     -[A7], [A2]
  7630. 00004FE2  4EAD DB0E                jsr        [A5 - 0x24F2]
  7631. 00004FE6  544F                     addq.w     A7, 2
  7632. label00004FE8:
  7633. 00004FE8  4A6F 000C                tst.w      [A7 + 0xC]
  7634. 00004FEC  6F08                     ble        +0xA /* 00004FF6 */
  7635. 00004FEE  2F0A                     move.l     -[A7], A2
  7636. 00004FF0  4EAD D9A0                jsr        [A5 - 0x2660]
  7637. 00004FF4  584F                     addq.w     A7, 4
  7638. label00004FF6:
  7639. 00004FF6  204A                     movea.l    A0, A2
  7640. 00004FF8  245F                     movea.l    A2, [A7]+
  7641. 00004FFA  4E75                     rts
  7642. fn00004FFC:
  7643. 00004FFC  2F0A                     move.l     -[A7], A2
  7644. 00004FFE  246F 0008                movea.l    A2, [A7 + 0x8]
  7645. 00005002  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  7646. 00005006  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  7647. 0000500A  2F0A                     move.l     -[A7], A2
  7648. 0000500C  4EBA F9C4                jsr        [PC - 0x63C /* 000049D2 */]
  7649. 00005010  41ED B534                lea.l      A0, [A5 - 0x4ACC]
  7650. 00005014  2488                     move.l     [A2], A0
  7651. 00005016  7000                     moveq.l    D0, 0x00
  7652. 00005018  A122                     syscall    NewHandle, flags=1
  7653. 0000501A  2548 003E                move.l     [A2 + 0x3E], A0
  7654. 0000501E  7002                     moveq.l    D0, 0x02
  7655. 00005020  A322                     syscall    NewHandleClear, flags=3
  7656. 00005022  2548 0042                move.l     [A2 + 0x42], A0
  7657. 00005026  42AA 0046                clr.l      [A2 + 0x46]
  7658. 0000502A  256F 001C 004A           move.l     [A2 + 0x4A], [A7 + 0x1C]
  7659. 00005030  526A 003A                addq.w     [A2 + 0x3A], 1
  7660. 00005034  204A                     movea.l    A0, A2
  7661. 00005036  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7662. 0000503A  245F                     movea.l    A2, [A7]+
  7663. 0000503C  4E75                     rts
  7664. 0000503E  2F0A                     move.l     -[A7], A2
  7665. 00005040  246F 0008                movea.l    A2, [A7 + 0x8]
  7666. 00005044  200A                     move.l     D0, A2
  7667. 00005046  6700 00AE                beq        +0xB0 /* 000050F6 */
  7668. 0000504A  41ED B534                lea.l      A0, [A5 - 0x4ACC]
  7669. 0000504E  2488                     move.l     [A2], A0
  7670. 00005050  0C6A 0009 003A           cmpi.w     [A2 + 0x3A], 0x9 /* '\t' */
  7671. 00005056  6500 0086                bcs        +0x88 /* 000050DE */
  7672. 0000505A  4AAA 004A                tst.l      [A2 + 0x4A]
  7673. 0000505E  675E                     beq        +0x60 /* 000050BE */
  7674. 00005060  4AAA 003E                tst.l      [A2 + 0x3E]
  7675. 00005064  6758                     beq        +0x5A /* 000050BE */
  7676. 00005066  4AAA 0042                tst.l      [A2 + 0x42]
  7677. 0000506A  6752                     beq        +0x54 /* 000050BE */
  7678. 0000506C  594F                     subq.w     A7, 4
  7679. 0000506E  A9FC                     syscall    ZeroScrap
  7680. 00005070  201F                     move.l     D0, [A7]+
  7681. 00005072  206A 003E                movea.l    A0, [A2 + 0x3E]
  7682. 00005076  A029                     syscall    HLock
  7683. 00005078  594F                     subq.w     A7, 4
  7684. 0000507A  594F                     subq.w     A7, 4
  7685. 0000507C  2F2A 003E                move.l     -[A7], [A2 + 0x3E]
  7686. 00005080  4EAD D9AC                jsr        [A5 - 0x2654]
  7687. 00005084  201F                     move.l     D0, [A7]+
  7688. 00005086  2F00                     move.l     -[A7], D0
  7689. 00005088  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  7690. 0000508E  206A 003E                movea.l    A0, [A2 + 0x3E]
  7691. 00005092  2F10                     move.l     -[A7], [A0]
  7692. 00005094  A9FE                     syscall    PutScrap
  7693. 00005096  201F                     move.l     D0, [A7]+
  7694. 00005098  206A 0042                movea.l    A0, [A2 + 0x42]
  7695. 0000509C  A029                     syscall    HLock
  7696. 0000509E  594F                     subq.w     A7, 4
  7697. 000050A0  594F                     subq.w     A7, 4
  7698. 000050A2  2F2A 0042                move.l     -[A7], [A2 + 0x42]
  7699. 000050A6  4EAD D9AC                jsr        [A5 - 0x2654]
  7700. 000050AA  201F                     move.l     D0, [A7]+
  7701. 000050AC  2F00                     move.l     -[A7], D0
  7702. 000050AE  2F3C 7374 796C           move.l     -[A7], 0x7374796C /* 'styl' */
  7703. 000050B4  206A 0042                movea.l    A0, [A2 + 0x42]
  7704. 000050B8  2F10                     move.l     -[A7], [A0]
  7705. 000050BA  A9FE                     syscall    PutScrap
  7706. 000050BC  201F                     move.l     D0, [A7]+
  7707. label000050BE:
  7708. 000050BE  4AAA 003E                tst.l      [A2 + 0x3E]
  7709. 000050C2  670A                     beq        +0xC /* 000050CE */
  7710. 000050C4  206A 003E                movea.l    A0, [A2 + 0x3E]
  7711. 000050C8  A023                     syscall    DisposHandle/DisposeHandle
  7712. 000050CA  42AA 003E                clr.l      [A2 + 0x3E]
  7713. label000050CE:
  7714. 000050CE  4AAA 0042                tst.l      [A2 + 0x42]
  7715. 000050D2  670A                     beq        +0xC /* 000050DE */
  7716. 000050D4  206A 0042                movea.l    A0, [A2 + 0x42]
  7717. 000050D8  A023                     syscall    DisposHandle/DisposeHandle
  7718. 000050DA  42AA 0042                clr.l      [A2 + 0x42]
  7719. label000050DE:
  7720. 000050DE  4267                     clr.w      -[A7]
  7721. 000050E0  2F0A                     move.l     -[A7], A2
  7722. 000050E2  4EBA F9B8                jsr        [PC - 0x648 /* 00004A9C */]
  7723. 000050E6  4A6F 0012                tst.w      [A7 + 0x12]
  7724. 000050EA  5C4F                     addq.w     A7, 6
  7725. 000050EC  6F08                     ble        +0xA /* 000050F6 */
  7726. 000050EE  2F0A                     move.l     -[A7], A2
  7727. 000050F0  4EAD D9A0                jsr        [A5 - 0x2660]
  7728. 000050F4  584F                     addq.w     A7, 4
  7729. label000050F6:
  7730. 000050F6  204A                     movea.l    A0, A2
  7731. 000050F8  245F                     movea.l    A2, [A7]+
  7732. 000050FA  4E75                     rts
  7733. fn000050FC:
  7734. 000050FC  206F 0004                movea.l    A0, [A7 + 0x4]
  7735. 00005100  2068 003E                movea.l    A0, [A0 + 0x3E]
  7736. 00005104  4E75                     rts
  7737. fn00005106:
  7738. 00005106  206F 0004                movea.l    A0, [A7 + 0x4]
  7739. 0000510A  2068 0042                movea.l    A0, [A0 + 0x42]
  7740. 0000510E  4E75                     rts
  7741. 00005110  2F0A                     move.l     -[A7], A2
  7742. 00005112  246F 0008                movea.l    A2, [A7 + 0x8]
  7743. 00005116  4AAA 003E                tst.l      [A2 + 0x3E]
  7744. 0000511A  6716                     beq        +0x18 /* 00005132 */
  7745. 0000511C  4AAA 0042                tst.l      [A2 + 0x42]
  7746. 00005120  6710                     beq        +0x12 /* 00005132 */
  7747. 00005122  2F0A                     move.l     -[A7], A2
  7748. 00005124  4EBA FA36                jsr        [PC - 0x5CA /* 00004B5C */]
  7749. 00005128  4A80                     tst.l      D0
  7750. 0000512A  584F                     addq.w     A7, 4
  7751. 0000512C  6604                     bne        +0x6 /* 00005132 */
  7752. 0000512E  7000                     moveq.l    D0, 0x00
  7753. 00005130  6002                     bra        +0x4 /* 00005134 */
  7754. label00005132:
  7755. 00005132  7001                     moveq.l    D0, 0x01
  7756. label00005134:
  7757. 00005134  245F                     movea.l    A2, [A7]+
  7758. 00005136  4E75                     rts
  7759. 00005138  206F 0008                movea.l    A0, [A7 + 0x8]
  7760. 0000513C  226F 0004                movea.l    A1, [A7 + 0x4]
  7761. 00005140  2269 003E                movea.l    A1, [A1 + 0x3E]
  7762. 00005144  202F 000C                move.l     D0, [A7 + 0xC]
  7763. 00005148  A9EF                     syscall    PtrAndHand
  7764. 0000514A  4A40                     tst.w      D0
  7765. 0000514C  6704                     beq        +0x6 /* 00005152 */
  7766. 0000514E  7000                     moveq.l    D0, 0x00
  7767. 00005150  4E75                     rts
  7768. label00005152:
  7769. 00005152  206F 0004                movea.l    A0, [A7 + 0x4]
  7770. 00005156  202F 000C                move.l     D0, [A7 + 0xC]
  7771. 0000515A  D1A8 0046                add.l      [A0 + 0x46], D0
  7772. 0000515E  7001                     moveq.l    D0, 0x01
  7773. 00005160  4E75                     rts
  7774. 00005162  554F                     subq.w     A7, 2
  7775. 00005164  1F7C 0009 0001           move.b     [A7 + 0x1], 0x9 /* '\t' */
  7776. 0000516A  4878 0001                push.l     0x1
  7777. 0000516E  486F 0005                pea.l      [A7 + 0x5]
  7778. 00005172  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  7779. 00005176  2057                     movea.l    A0, [A7]
  7780. 00005178  2250                     movea.l    A1, [A0]
  7781. 0000517A  D1E9 001C                add.l      A0, [A1 + 0x1C]
  7782. 0000517E  2E88                     move.l     [A7], A0
  7783. 00005180  2269 0018                movea.l    A1, [A1 + 0x18]
  7784. 00005184  4E91                     jsr        [A1]
  7785. 00005186  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7786. 0000518A  4E75                     rts
  7787. 0000518C  554F                     subq.w     A7, 2
  7788. 0000518E  1F7C 000D 0001           move.b     [A7 + 0x1], 0xD /* '\r' */
  7789. 00005194  4878 0001                push.l     0x1
  7790. 00005198  486F 0005                pea.l      [A7 + 0x5]
  7791. 0000519C  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  7792. 000051A0  2057                     movea.l    A0, [A7]
  7793. 000051A2  2250                     movea.l    A1, [A0]
  7794. 000051A4  D1E9 001C                add.l      A0, [A1 + 0x1C]
  7795. 000051A8  2E88                     move.l     [A7], A0
  7796. 000051AA  2269 0018                movea.l    A1, [A1 + 0x18]
  7797. 000051AE  4E91                     jsr        [A1]
  7798. 000051B0  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7799. 000051B4  4E75                     rts
  7800. 000051B6  2F0A                     move.l     -[A7], A2
  7801. 000051B8  4FEF FD78                lea.l      A7, [A7 - 0x288]
  7802. 000051BC  246F 0290                movea.l    A2, [A7 + 0x290]
  7803. 000051C0  2F2F 0294                move.l     -[A7], [A7 + 0x294]
  7804. 000051C4  486F 0170                pea.l      [A7 + 0x170]
  7805. 000051C8  4EAD DDC8                jsr        [A5 - 0x2238]
  7806. 000051CC  486F 0174                pea.l      [A7 + 0x174]
  7807. 000051D0  486F 0288                pea.l      [A7 + 0x288]
  7808. 000051D4  A900                     syscall    GetFNum
  7809. 000051D6  4A6F 0284                tst.w      [A7 + 0x284]
  7810. 000051DA  504F                     addq.w     A7, 8
  7811. 000051DC  6626                     bne        +0x28 /* 00005204 */
  7812. 000051DE  4267                     clr.w      -[A7]
  7813. 000051E0  486F 006E                pea.l      [A7 + 0x6E]
  7814. 000051E4  A8FF                     syscall    GetFName/GetFontName
  7815. 000051E6  554F                     subq.w     A7, 2
  7816. 000051E8  486F 016E                pea.l      [A7 + 0x16E]
  7817. 000051EC  486F 0072                pea.l      [A7 + 0x72]
  7818. 000051F0  4227                     clr.b      -[A7]
  7819. 000051F2  1F3C 0001                move.b     -[A7], 0x1
  7820. 000051F6  4EAD D9BE                jsr        [A5 - 0x2642]
  7821. 000051FA  101F                     move.b     D0, [A7]+
  7822. 000051FC  6706                     beq        +0x8 /* 00005204 */
  7823. 000051FE  3F7C 0001 027C           move.w     [A7 + 0x27C], 0x1
  7824. label00005204:
  7825. 00005204  202F 029C                move.l     D0, [A7 + 0x29C]
  7826. 00005208  727F                     moveq.l    D1, 0x7F
  7827. 0000520A  C081                     and.l      D0, D1
  7828. 0000520C  1F40 027E                move.b     [A7 + 0x27E], D0
  7829. 00005210  42A7                     clr.l      -[A7]
  7830. 00005212  4EAD DD40                jsr        [A5 - 0x22C0]
  7831. 00005216  486F 0004                pea.l      [A7 + 0x4]
  7832. 0000521A  A86F                     syscall    OpenPort
  7833. 0000521C  3F2F 0280                move.w     -[A7], [A7 + 0x280]
  7834. 00005220  A887                     syscall    TextFont
  7835. 00005222  3F2F 02A4                move.w     -[A7], [A7 + 0x2A4]
  7836. 00005226  A88A                     syscall    TextSize
  7837. 00005228  7000                     moveq.l    D0, 0x00
  7838. 0000522A  102F 0282                move.b     D0, [A7 + 0x282]
  7839. 0000522E  3F00                     move.w     -[A7], D0
  7840. 00005230  A888                     syscall    TextFace
  7841. 00005232  486F 0270                pea.l      [A7 + 0x270]
  7842. 00005236  A88B                     syscall    GetFontInfo
  7843. 00005238  486F 0004                pea.l      [A7 + 0x4]
  7844. 0000523C  A87D                     syscall    ClosePort
  7845. 0000523E  4EAD DD48                jsr        [A5 - 0x22B8]
  7846. 00005242  302F 0272                move.w     D0, [A7 + 0x272]
  7847. 00005246  48C0                     ext.l      D0
  7848. 00005248  322F 0270                move.w     D1, [A7 + 0x270]
  7849. 0000524C  48C1                     ext.l      D1
  7850. 0000524E  D280                     add.l      D1, D0
  7851. 00005250  302F 0276                move.w     D0, [A7 + 0x276]
  7852. 00005254  48C0                     ext.l      D0
  7853. 00005256  D081                     add.l      D0, D1
  7854. 00005258  3F40 027C                move.w     [A7 + 0x27C], D0
  7855. 0000525C  3F6F 0270 027E           move.w     [A7 + 0x27E], [A7 + 0x270]
  7856. 00005262  2F6A 0046 0278           move.l     [A7 + 0x278], [A2 + 0x46]
  7857. 00005268  422F 0283                clr.b      [A7 + 0x283]
  7858. 0000526C  3F6F 02A4 0284           move.w     [A7 + 0x284], [A7 + 0x2A4]
  7859. 00005272  206F 029C                movea.l    A0, [A7 + 0x29C]
  7860. 00005276  2F50 0286                move.l     [A7 + 0x286], [A0]
  7861. 0000527A  3F68 0004 028A           move.w     [A7 + 0x28A], [A0 + 0x4]
  7862. 00005280  41EF 0278                lea.l      A0, [A7 + 0x278]
  7863. 00005284  226A 0042                movea.l    A1, [A2 + 0x42]
  7864. 00005288  7014                     moveq.l    D0, 0x14
  7865. 0000528A  A9EF                     syscall    PtrAndHand
  7866. 0000528C  4A40                     tst.w      D0
  7867. 0000528E  584F                     addq.w     A7, 4
  7868. 00005290  670A                     beq        +0xC /* 0000529C */
  7869. 00005292  7000                     moveq.l    D0, 0x00
  7870. 00005294  4FEF 0288                lea.l      A7, [A7 + 0x288]
  7871. 00005298  245F                     movea.l    A2, [A7]+
  7872. 0000529A  4E75                     rts
  7873. label0000529C:
  7874. 0000529C  206A 0042                movea.l    A0, [A2 + 0x42]
  7875. 000052A0  2050                     movea.l    A0, [A0]
  7876. 000052A2  5250                     addq.w     [A0], 1
  7877. 000052A4  7001                     moveq.l    D0, 0x01
  7878. 000052A6  4FEF 0288                lea.l      A7, [A7 + 0x288]
  7879. 000052AA  245F                     movea.l    A2, [A7]+
  7880. 000052AC  4E75                     rts
  7881. fn000052AE:
  7882. 000052AE  48E7 0030                movem.l    -[A7], A2,A3
  7883. 000052B2  246F 000C                movea.l    A2, [A7 + 0xC]
  7884. 000052B6  266F 0010                movea.l    A3, [A7 + 0x10]
  7885. 000052BA  248B                     move.l     [A2], A3
  7886. 000052BC  42AA 0004                clr.l      [A2 + 0x4]
  7887. 000052C0  42AA 0008                clr.l      [A2 + 0x8]
  7888. 000052C4  42AA 0024                clr.l      [A2 + 0x24]
  7889. 000052C8  486A 0004                pea.l      [A2 + 0x4]
  7890. 000052CC  486A 0008                pea.l      [A2 + 0x8]
  7891. 000052D0  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7892. 000052D4  4EAD EA28                jsr        [A5 - 0x15D8]
  7893. 000052D8  4227                     clr.b      -[A7]
  7894. 000052DA  486A 000C                pea.l      [A2 + 0xC]
  7895. 000052DE  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7896. 000052E2  4EAD EA38                jsr        [A5 - 0x15C8]
  7897. 000052E6  1F3C 0002                move.b     -[A7], 0x2
  7898. 000052EA  486A 001C                pea.l      [A2 + 0x1C]
  7899. 000052EE  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7900. 000052F2  4EAD EA38                jsr        [A5 - 0x15C8]
  7901. 000052F6  4AAA 0008                tst.l      [A2 + 0x8]
  7902. 000052FA  4FEF 0020                lea.l      A7, [A7 + 0x20]
  7903. 000052FE  6716                     beq        +0x18 /* 00005316 */
  7904. 00005300  1F3C 0001                move.b     -[A7], 0x1
  7905. 00005304  486A 0014                pea.l      [A2 + 0x14]
  7906. 00005308  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7907. 0000530C  4EAD EA38                jsr        [A5 - 0x15C8]
  7908. 00005310  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7909. 00005314  6010                     bra        +0x12 /* 00005326 */
  7910. label00005316:
  7911. 00005316  426A 0018                clr.w      [A2 + 0x18]
  7912. 0000531A  426A 001A                clr.w      [A2 + 0x1A]
  7913. 0000531E  426A 0014                clr.w      [A2 + 0x14]
  7914. 00005322  426A 0016                clr.w      [A2 + 0x16]
  7915. label00005326:
  7916. 00005326  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  7917. 0000532A  4EAD DAEA                jsr        [A5 - 0x2516]
  7918. 0000532E  2540 0024                move.l     [A2 + 0x24], D0
  7919. 00005332  204A                     movea.l    A0, A2
  7920. 00005334  584F                     addq.w     A7, 4
  7921. 00005336  4CDF 0C00                movem.l    A2,A3, [A7]+
  7922. 0000533A  4E75                     rts
  7923. 0000533C  2F0A                     move.l     -[A7], A2
  7924. 0000533E  514F                     subq.w     A7, 8
  7925. 00005340  4878 001C                push.l     0x1C
  7926. 00005344  4EAD D99A                jsr        [A5 - 0x2666]
  7927. 00005348  2008                     move.l     D0, A0
  7928. 0000534A  584F                     addq.w     A7, 4
  7929. 0000534C  6712                     beq        +0x14 /* 00005360 */
  7930. 0000534E  2E80                     move.l     [A7], D0
  7931. 00005350  2F48 0004                move.l     [A7 + 0x4], A0
  7932. 00005354  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  7933. 00005358  4850                     pea.l      [A0]
  7934. 0000535A  4EBA 0240                jsr        [PC + 0x240 /* 0000559C */]
  7935. 0000535E  504F                     addq.w     A7, 8
  7936. label00005360:
  7937. 00005360  2448                     movea.l    A2, A0
  7938. 00005362  204A                     movea.l    A0, A2
  7939. 00005364  504F                     addq.w     A7, 8
  7940. 00005366  245F                     movea.l    A2, [A7]+
  7941. 00005368  4E75                     rts
  7942. 0000536A  594F                     subq.w     A7, 4
  7943. 0000536C  2EAF 0008                move.l     [A7], [A7 + 0x8]
  7944. 00005370  3F3C 0001                move.w     -[A7], 0x1
  7945. 00005374  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  7946. 00005378  4EBA 024A                jsr        [PC + 0x24A /* 000055C4 */]
  7947. 0000537C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7948. 00005380  4E75                     rts
  7949. 00005382  48E7 0038                movem.l    -[A7], A2,A3,A4
  7950. 00005386  4FEF FFD8                lea.l      A7, [A7 - 0x28]
  7951. 0000538A  286F 003C                movea.l    A4, [A7 + 0x3C]
  7952. 0000538E  2F0C                     move.l     -[A7], A4
  7953. 00005390  4EBA 1150                jsr        [PC + 0x1150 /* 000064E2 */]
  7954. 00005394  2448                     movea.l    A2, A0
  7955. 00005396  200A                     move.l     D0, A2
  7956. 00005398  584F                     addq.w     A7, 4
  7957. 0000539A  6732                     beq        +0x34 /* 000053CE */
  7958. 0000539C  4EAD DF98                jsr        [A5 - 0x2068]
  7959. 000053A0  266F 0038                movea.l    A3, [A7 + 0x38]
  7960. 000053A4  2F2F 0046                move.l     -[A7], [A7 + 0x46]
  7961. 000053A8  3F2F 0048                move.w     -[A7], [A7 + 0x48]
  7962. 000053AC  2F2F 0046                move.l     -[A7], [A7 + 0x46]
  7963. 000053B0  2F0C                     move.l     -[A7], A4
  7964. 000053B2  486F 000E                pea.l      [A7 + 0xE]
  7965. 000053B6  4EBA FEF6                jsr        [PC - 0x10A /* 000052AE */]
  7966. 000053BA  504F                     addq.w     A7, 8
  7967. 000053BC  2F08                     move.l     -[A7], A0
  7968. 000053BE  2F0A                     move.l     -[A7], A2
  7969. 000053C0  2F0B                     move.l     -[A7], A3
  7970. 000053C2  4EBA 064A                jsr        [PC + 0x64A /* 00005A0E */]
  7971. 000053C6  204A                     movea.l    A0, A2
  7972. 000053C8  A049                     syscall    HPurge
  7973. 000053CA  4FEF 0016                lea.l      A7, [A7 + 0x16]
  7974. label000053CE:
  7975. 000053CE  4FEF 0028                lea.l      A7, [A7 + 0x28]
  7976. 000053D2  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  7977. 000053D6  4E75                     rts
  7978. 000053D8  48E7 0038                movem.l    -[A7], A2,A3,A4
  7979. 000053DC  4FEF FFD8                lea.l      A7, [A7 - 0x28]
  7980. 000053E0  266F 003C                movea.l    A3, [A7 + 0x3C]
  7981. 000053E4  2F0B                     move.l     -[A7], A3
  7982. 000053E6  4EBA 10FA                jsr        [PC + 0x10FA /* 000064E2 */]
  7983. 000053EA  2448                     movea.l    A2, A0
  7984. 000053EC  200A                     move.l     D0, A2
  7985. 000053EE  584F                     addq.w     A7, 4
  7986. 000053F0  6732                     beq        +0x34 /* 00005424 */
  7987. 000053F2  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  7988. 000053F6  4EAD DD40                jsr        [A5 - 0x22C0]
  7989. 000053FA  286F 003C                movea.l    A4, [A7 + 0x3C]
  7990. 000053FE  2F2F 0044                move.l     -[A7], [A7 + 0x44]
  7991. 00005402  2F0B                     move.l     -[A7], A3
  7992. 00005404  486F 000C                pea.l      [A7 + 0xC]
  7993. 00005408  4EBA FEA4                jsr        [PC - 0x15C /* 000052AE */]
  7994. 0000540C  504F                     addq.w     A7, 8
  7995. 0000540E  2F08                     move.l     -[A7], A0
  7996. 00005410  2F0A                     move.l     -[A7], A2
  7997. 00005412  2F0C                     move.l     -[A7], A4
  7998. 00005414  4EBA 0B58                jsr        [PC + 0xB58 /* 00005F6E */]
  7999. 00005418  204A                     movea.l    A0, A2
  8000. 0000541A  A049                     syscall    HPurge
  8001. 0000541C  4EAD DD48                jsr        [A5 - 0x22B8]
  8002. 00005420  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8003. label00005424:
  8004. 00005424  4FEF 0028                lea.l      A7, [A7 + 0x28]
  8005. 00005428  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  8006. 0000542C  4E75                     rts
  8007. 0000542E  48E7 0038                movem.l    -[A7], A2,A3,A4
  8008. 00005432  4FEF FFD8                lea.l      A7, [A7 - 0x28]
  8009. 00005436  266F 003C                movea.l    A3, [A7 + 0x3C]
  8010. 0000543A  2F0B                     move.l     -[A7], A3
  8011. 0000543C  4EBA 10A4                jsr        [PC + 0x10A4 /* 000064E2 */]
  8012. 00005440  2448                     movea.l    A2, A0
  8013. 00005442  200A                     move.l     D0, A2
  8014. 00005444  584F                     addq.w     A7, 4
  8015. 00005446  672E                     beq        +0x30 /* 00005476 */
  8016. 00005448  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  8017. 0000544C  4EAD DD40                jsr        [A5 - 0x22C0]
  8018. 00005450  286F 003C                movea.l    A4, [A7 + 0x3C]
  8019. 00005454  2F0B                     move.l     -[A7], A3
  8020. 00005456  486F 0008                pea.l      [A7 + 0x8]
  8021. 0000545A  4EBA FE52                jsr        [PC - 0x1AE /* 000052AE */]
  8022. 0000545E  504F                     addq.w     A7, 8
  8023. 00005460  2F08                     move.l     -[A7], A0
  8024. 00005462  2F0A                     move.l     -[A7], A2
  8025. 00005464  2F0C                     move.l     -[A7], A4
  8026. 00005466  4EBA 0C10                jsr        [PC + 0xC10 /* 00006078 */]
  8027. 0000546A  204A                     movea.l    A0, A2
  8028. 0000546C  A049                     syscall    HPurge
  8029. 0000546E  4EAD DD48                jsr        [A5 - 0x22B8]
  8030. 00005472  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8031. label00005476:
  8032. 00005476  4FEF 0028                lea.l      A7, [A7 + 0x28]
  8033. 0000547A  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  8034. 0000547E  4E75                     rts
  8035. 00005480  594F                     subq.w     A7, 4
  8036. 00005482  2EAF 0008                move.l     [A7], [A7 + 0x8]
  8037. 00005486  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  8038. 0000548A  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  8039. 0000548E  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  8040. 00005492  4EBA 018E                jsr        [PC + 0x18E /* 00005622 */]
  8041. 00005496  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8042. 0000549A  4E75                     rts
  8043. 0000549C  48E7 0038                movem.l    -[A7], A2,A3,A4
  8044. 000054A0  4FEF FFD8                lea.l      A7, [A7 - 0x28]
  8045. 000054A4  286F 0040                movea.l    A4, [A7 + 0x40]
  8046. 000054A8  266F 0038                movea.l    A3, [A7 + 0x38]
  8047. 000054AC  4AAF 003C                tst.l      [A7 + 0x3C]
  8048. 000054B0  6738                     beq        +0x3A /* 000054EA */
  8049. 000054B2  2F0C                     move.l     -[A7], A4
  8050. 000054B4  4EBA 102C                jsr        [PC + 0x102C /* 000064E2 */]
  8051. 000054B8  2448                     movea.l    A2, A0
  8052. 000054BA  200A                     move.l     D0, A2
  8053. 000054BC  584F                     addq.w     A7, 4
  8054. 000054BE  672A                     beq        +0x2C /* 000054EA */
  8055. 000054C0  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  8056. 000054C4  4EAD DD40                jsr        [A5 - 0x22C0]
  8057. 000054C8  2F0C                     move.l     -[A7], A4
  8058. 000054CA  486F 0008                pea.l      [A7 + 0x8]
  8059. 000054CE  4EBA FDDE                jsr        [PC - 0x222 /* 000052AE */]
  8060. 000054D2  504F                     addq.w     A7, 8
  8061. 000054D4  2F08                     move.l     -[A7], A0
  8062. 000054D6  2F0A                     move.l     -[A7], A2
  8063. 000054D8  2F0B                     move.l     -[A7], A3
  8064. 000054DA  4EBA 0B9C                jsr        [PC + 0xB9C /* 00006078 */]
  8065. 000054DE  204A                     movea.l    A0, A2
  8066. 000054E0  A049                     syscall    HPurge
  8067. 000054E2  4EAD DD48                jsr        [A5 - 0x22B8]
  8068. 000054E6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8069. label000054EA:
  8070. 000054EA  4878 0001                push.l     0x1
  8071. 000054EE  2F0B                     move.l     -[A7], A3
  8072. 000054F0  4EBA 0222                jsr        [PC + 0x222 /* 00005714 */]
  8073. 000054F4  4FEF 0030                lea.l      A7, [A7 + 0x30]
  8074. 000054F8  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  8075. 000054FC  4E75                     rts
  8076. 000054FE  2F03                     move.l     -[A7], D3
  8077. 00005500  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  8078. 00005504  262F 001C                move.l     D3, [A7 + 0x1C]
  8079. 00005508  206F 0014                movea.l    A0, [A7 + 0x14]
  8080. 0000550C  4870 3800                pea.l      [A0 + D3]
  8081. 00005510  202F 0024                move.l     D0, [A7 + 0x24]
  8082. 00005514  9083                     sub.l      D0, D3
  8083. 00005516  3F00                     move.w     -[A7], D0
  8084. 00005518  202F 001E                move.l     D0, [A7 + 0x1E]
  8085. 0000551C  9083                     sub.l      D0, D3
  8086. 0000551E  3F00                     move.w     -[A7], D0
  8087. 00005520  4AAF 002C                tst.l      [A7 + 0x2C]
  8088. 00005524  5DC0                     slt        D0
  8089. 00005526  4400                     neg.b      D0
  8090. 00005528  4880                     ext.w      D0
  8091. 0000552A  48C0                     ext.l      D0
  8092. 0000552C  1F00                     move.b     -[A7], D0
  8093. 0000552E  42A7                     clr.l      -[A7]
  8094. 00005530  486F 000E                pea.l      [A7 + 0xE]
  8095. 00005534  2F3C 8012 001A           move.l     -[A7], 0x8012001A
  8096. 0000553A  A8B5                     syscall    ScriptUtil
  8097. 0000553C  4AAF 0024                tst.l      [A7 + 0x24]
  8098. 00005540  6C0E                     bge        +0x10 /* 00005550 */
  8099. 00005542  3017                     move.w     D0, [A7]
  8100. 00005544  48C0                     ext.l      D0
  8101. 00005546  D083                     add.l      D0, D3
  8102. 00005548  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8103. 0000554C  261F                     move.l     D3, [A7]+
  8104. 0000554E  4E75                     rts
  8105. label00005550:
  8106. 00005550  302F 0002                move.w     D0, [A7 + 0x2]
  8107. 00005554  48C0                     ext.l      D0
  8108. 00005556  D083                     add.l      D0, D3
  8109. 00005558  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8110. 0000555C  261F                     move.l     D3, [A7]+
  8111. 0000555E  4E75                     rts
  8112. 00005560  594F                     subq.w     A7, 4
  8113. 00005562  2EAF 0008                move.l     [A7], [A7 + 0x8]
  8114. 00005566  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  8115. 0000556A  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  8116. 0000556E  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  8117. 00005572  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  8118. 00005576  4EBA 0E4A                jsr        [PC + 0xE4A /* 000063C2 */]
  8119. 0000557A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8120. 0000557E  4E75                     rts
  8121. 00005580  594F                     subq.w     A7, 4
  8122. 00005582  2EAF 0008                move.l     [A7], [A7 + 0x8]
  8123. 00005586  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  8124. 0000558A  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  8125. 0000558E  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  8126. 00005592  4EBA 0E68                jsr        [PC + 0xE68 /* 000063FC */]
  8127. 00005596  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8128. 0000559A  4E75                     rts
  8129. fn0000559C:
  8130. 0000559C  206F 0004                movea.l    A0, [A7 + 0x4]
  8131. 000055A0  4268 0018                clr.w      [A0 + 0x18]
  8132. 000055A4  4290                     clr.l      [A0]
  8133. 000055A6  42A8 0004                clr.l      [A0 + 0x4]
  8134. 000055AA  216F 0008 0008           move.l     [A0 + 0x8], [A7 + 0x8]
  8135. 000055B0  42A8 000C                clr.l      [A0 + 0xC]
  8136. 000055B4  42A8 0010                clr.l      [A0 + 0x10]
  8137. 000055B8  7001                     moveq.l    D0, 0x01
  8138. 000055BA  2140 0014                move.l     [A0 + 0x14], D0
  8139. 000055BE  5268 0018                addq.w     [A0 + 0x18], 1
  8140. 000055C2  4E75                     rts
  8141. fn000055C4:
  8142. 000055C4  2F0A                     move.l     -[A7], A2
  8143. 000055C6  246F 0008                movea.l    A2, [A7 + 0x8]
  8144. 000055CA  200A                     move.l     D0, A2
  8145. 000055CC  671E                     beq        +0x20 /* 000055EC */
  8146. 000055CE  4A6A 0018                tst.w      [A2 + 0x18]
  8147. 000055D2  670A                     beq        +0xC /* 000055DE */
  8148. 000055D4  4A92                     tst.l      [A2]
  8149. 000055D6  6706                     beq        +0x8 /* 000055DE */
  8150. 000055D8  2052                     movea.l    A0, [A2]
  8151. 000055DA  A023                     syscall    DisposHandle/DisposeHandle
  8152. 000055DC  4292                     clr.l      [A2]
  8153. label000055DE:
  8154. 000055DE  4A6F 000C                tst.w      [A7 + 0xC]
  8155. 000055E2  6F08                     ble        +0xA /* 000055EC */
  8156. 000055E4  2F0A                     move.l     -[A7], A2
  8157. 000055E6  4EAD D9A0                jsr        [A5 - 0x2660]
  8158. 000055EA  584F                     addq.w     A7, 4
  8159. label000055EC:
  8160. 000055EC  204A                     movea.l    A0, A2
  8161. 000055EE  245F                     movea.l    A2, [A7]+
  8162. 000055F0  4E75                     rts
  8163. fn000055F2:
  8164. 000055F2  48E7 0030                movem.l    -[A7], A2,A3
  8165. 000055F6  246F 000C                movea.l    A2, [A7 + 0xC]
  8166. 000055FA  266F 0010                movea.l    A3, [A7 + 0x10]
  8167. 000055FE  4A93                     tst.l      [A3]
  8168. 00005600  6718                     beq        +0x1A /* 0000561A */
  8169. 00005602  2493                     move.l     [A2], [A3]
  8170. 00005604  554F                     subq.w     A7, 2
  8171. 00005606  2F0A                     move.l     -[A7], A2
  8172. 00005608  4EAD DA30                jsr        [A5 - 0x25D0]
  8173. 0000560C  301F                     move.w     D0, [A7]+
  8174. 0000560E  6704                     beq        +0x6 /* 00005614 */
  8175. 00005610  4292                     clr.l      [A2]
  8176. 00005612  6006                     bra        +0x8 /* 0000561A */
  8177. label00005614:
  8178. 00005614  256B 0004 0004           move.l     [A2 + 0x4], [A3 + 0x4]
  8179. label0000561A:
  8180. 0000561A  204A                     movea.l    A0, A2
  8181. 0000561C  4CDF 0C00                movem.l    A2,A3, [A7]+
  8182. 00005620  4E75                     rts
  8183. fn00005622:
  8184. 00005622  48E7 1020                movem.l    -[A7], D3,A2
  8185. 00005626  514F                     subq.w     A7, 8
  8186. 00005628  246F 0014                movea.l    A2, [A7 + 0x14]
  8187. 0000562C  202F 0018                move.l     D0, [A7 + 0x18]
  8188. 00005630  B0AF 001C                cmp.l      D0, [A7 + 0x1C]
  8189. 00005634  660A                     bne        +0xC /* 00005640 */
  8190. 00005636  7000                     moveq.l    D0, 0x00
  8191. 00005638  504F                     addq.w     A7, 8
  8192. 0000563A  4CDF 0408                movem.l    D3,A2, [A7]+
  8193. 0000563E  4E75                     rts
  8194. label00005640:
  8195. 00005640  202F 0018                move.l     D0, [A7 + 0x18]
  8196. 00005644  B0AF 001C                cmp.l      D0, [A7 + 0x1C]
  8197. 00005648  6D06                     blt        +0x8 /* 00005650 */
  8198. 0000564A  41EF 001C                lea.l      A0, [A7 + 0x1C]
  8199. 0000564E  6004                     bra        +0x6 /* 00005654 */
  8200. label00005650:
  8201. 00005650  41EF 0018                lea.l      A0, [A7 + 0x18]
  8202. label00005654:
  8203. 00005654  2E90                     move.l     [A7], [A0]
  8204. 00005656  202F 0018                move.l     D0, [A7 + 0x18]
  8205. 0000565A  B0AF 001C                cmp.l      D0, [A7 + 0x1C]
  8206. 0000565E  6E06                     bgt        +0x8 /* 00005666 */
  8207. 00005660  41EF 001C                lea.l      A0, [A7 + 0x1C]
  8208. 00005664  6004                     bra        +0x6 /* 0000566A */
  8209. label00005666:
  8210. 00005666  41EF 0018                lea.l      A0, [A7 + 0x18]
  8211. label0000566A:
  8212. 0000566A  2F50 0004                move.l     [A7 + 0x4], [A0]
  8213. 0000566E  7600                     moveq.l    D3, 0x00
  8214. 00005670  4A92                     tst.l      [A2]
  8215. 00005672  6710                     beq        +0x12 /* 00005684 */
  8216. 00005674  41D7                     lea.l      A0, [A7]
  8217. 00005676  2252                     movea.l    A1, [A2]
  8218. 00005678  7008                     moveq.l    D0, 0x08
  8219. 0000567A  A9EF                     syscall    PtrAndHand
  8220. 0000567C  3600                     move.w     D3, D0
  8221. 0000567E  52AA 0004                addq.l     [A2 + 0x4], 1
  8222. 00005682  601A                     bra        +0x1C /* 0000569E */
  8223. label00005684:
  8224. 00005684  554F                     subq.w     A7, 2
  8225. 00005686  486F 0002                pea.l      [A7 + 0x2]
  8226. 0000568A  2F0A                     move.l     -[A7], A2
  8227. 0000568C  4878 0008                push.l     0x8
  8228. 00005690  4EAD DA36                jsr        [A5 - 0x25CA]
  8229. 00005694  301F                     move.w     D0, [A7]+
  8230. 00005696  3600                     move.w     D3, D0
  8231. 00005698  7001                     moveq.l    D0, 0x01
  8232. 0000569A  2540 0004                move.l     [A2 + 0x4], D0
  8233. label0000569E:
  8234. 0000569E  3003                     move.w     D0, D3
  8235. 000056A0  504F                     addq.w     A7, 8
  8236. 000056A2  4CDF 0408                movem.l    D3,A2, [A7]+
  8237. 000056A6  4E75                     rts
  8238. fn000056A8:
  8239. 000056A8  48E7 1030                movem.l    -[A7], D3,A2,A3
  8240. 000056AC  514F                     subq.w     A7, 8
  8241. 000056AE  266F 0018                movea.l    A3, [A7 + 0x18]
  8242. 000056B2  246F 0020                movea.l    A2, [A7 + 0x20]
  8243. 000056B6  7600                     moveq.l    D3, 0x00
  8244. 000056B8  4857                     pea.l      [A7]
  8245. 000056BA  486F 0008                pea.l      [A7 + 0x8]
  8246. 000056BE  42A7                     clr.l      -[A7]
  8247. 000056C0  2F0B                     move.l     -[A7], A3
  8248. 000056C2  4EBA 0CFE                jsr        [PC + 0xCFE /* 000063C2 */]
  8249. 000056C6  4A80                     tst.l      D0
  8250. 000056C8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8251. 000056CC  6720                     beq        +0x22 /* 000056EE */
  8252. 000056CE  4AAF 0024                tst.l      [A7 + 0x24]
  8253. 000056D2  670E                     beq        +0x10 /* 000056E2 */
  8254. 000056D4  202A 0024                move.l     D0, [A2 + 0x24]
  8255. 000056D8  B0AF 0004                cmp.l      D0, [A7 + 0x4]
  8256. 000056DC  6E10                     bgt        +0x12 /* 000056EE */
  8257. 000056DE  7601                     moveq.l    D3, 0x01
  8258. 000056E0  600C                     bra        +0xE /* 000056EE */
  8259. label000056E2:
  8260. 000056E2  202A 0024                move.l     D0, [A2 + 0x24]
  8261. 000056E6  B0AF 0004                cmp.l      D0, [A7 + 0x4]
  8262. 000056EA  6F02                     ble        +0x4 /* 000056EE */
  8263. 000056EC  7601                     moveq.l    D3, 0x01
  8264. label000056EE:
  8265. 000056EE  4A83                     tst.l      D3
  8266. 000056F0  671A                     beq        +0x1C /* 0000570C */
  8267. 000056F2  2F0A                     move.l     -[A7], A2
  8268. 000056F4  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  8269. 000056F8  2F0B                     move.l     -[A7], A3
  8270. 000056FA  4EBA 097C                jsr        [PC + 0x97C /* 00006078 */]
  8271. 000056FE  4878 0001                push.l     0x1
  8272. 00005702  2F0B                     move.l     -[A7], A3
  8273. 00005704  4EBA 000E                jsr        [PC + 0xE /* 00005714 */]
  8274. 00005708  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8275. label0000570C:
  8276. 0000570C  504F                     addq.w     A7, 8
  8277. 0000570E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  8278. 00005712  4E75                     rts
  8279. fn00005714:
  8280. 00005714  2F0A                     move.l     -[A7], A2
  8281. 00005716  246F 0008                movea.l    A2, [A7 + 0x8]
  8282. 0000571A  4A92                     tst.l      [A2]
  8283. 0000571C  670A                     beq        +0xC /* 00005728 */
  8284. 0000571E  2052                     movea.l    A0, [A2]
  8285. 00005720  7000                     moveq.l    D0, 0x00
  8286. 00005722  A024                     syscall    SetHandleSize
  8287. 00005724  42AA 0004                clr.l      [A2 + 0x4]
  8288. label00005728:
  8289. 00005728  4AAF 000C                tst.l      [A7 + 0xC]
  8290. 0000572C  6704                     beq        +0x6 /* 00005732 */
  8291. 0000572E  42AA 000C                clr.l      [A2 + 0xC]
  8292. label00005732:
  8293. 00005732  245F                     movea.l    A2, [A7]+
  8294. 00005734  4E75                     rts
  8295. fn00005736:
  8296. 00005736  2F0B                     move.l     -[A7], A3
  8297. 00005738  266F 0008                movea.l    A3, [A7 + 0x8]
  8298. 0000573C  202F 000C                move.l     D0, [A7 + 0xC]
  8299. 00005740  4A93                     tst.l      [A3]
  8300. 00005742  671C                     beq        +0x1E /* 00005760 */
  8301. 00005744  4AAB 0004                tst.l      [A3 + 0x4]
  8302. 00005748  6716                     beq        +0x18 /* 00005760 */
  8303. 0000574A  2053                     movea.l    A0, [A3]
  8304. 0000574C  2250                     movea.l    A1, [A0]
  8305. 0000574E  B091                     cmp.l      D0, [A1]
  8306. 00005750  6C08                     bge        +0xA /* 0000575A */
  8307. 00005752  2029 0004                move.l     D0, [A1 + 0x4]
  8308. 00005756  265F                     movea.l    A3, [A7]+
  8309. 00005758  4E75                     rts
  8310. label0000575A:
  8311. 0000575A  2011                     move.l     D0, [A1]
  8312. 0000575C  265F                     movea.l    A3, [A7]+
  8313. 0000575E  4E75                     rts
  8314. label00005760:
  8315. 00005760  265F                     movea.l    A3, [A7]+
  8316. 00005762  4E75                     rts
  8317. fn00005764:
  8318. 00005764  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  8319. 00005768  4FEF FF84                lea.l      A7, [A7 - 0x7C]
  8320. 0000576C  246F 009C                movea.l    A2, [A7 + 0x9C]
  8321. 00005770  262F 00A4                move.l     D3, [A7 + 0xA4]
  8322. 00005774  2C6F 00A8                movea.l    A6, [A7 + 0xA8]
  8323. 00005778  4A2D 8AAF                tst.b      [A5 - 0x7551]
  8324. 0000577C  660A                     bne        +0xC /* 00005788 */
  8325. 0000577E  1B7C 0001 8AAF           move.b     [A5 - 0x7551], 0x1
  8326. 00005784  42AD 8AB0                clr.l      [A5 - 0x7550]
  8327. label00005788:
  8328. 00005788  4A2D 8AA9                tst.b      [A5 - 0x7557]
  8329. 0000578C  660A                     bne        +0xC /* 00005798 */
  8330. 0000578E  1B7C 0001 8AA9           move.b     [A5 - 0x7557], 0x1
  8331. 00005794  42AD 8AAA                clr.l      [A5 - 0x7556]
  8332. label00005798:
  8333. 00005798  4AAD 8AB0                tst.l      [A5 - 0x7550]
  8334. 0000579C  6628                     bne        +0x2A /* 000057C6 */
  8335. 0000579E  7001                     moveq.l    D0, 0x01
  8336. 000057A0  2B40 8AB0                move.l     [A5 - 0x7550], D0
  8337. 000057A4  554F                     subq.w     A7, 2
  8338. 000057A6  2F3C 6472 6167           move.l     -[A7], 0x64726167 /* 'drag' */
  8339. 000057AC  486F 0014                pea.l      [A7 + 0x14]
  8340. 000057B0  4EAD DA66                jsr        [A5 - 0x259A]
  8341. 000057B4  301F                     move.w     D0, [A7]+
  8342. 000057B6  660E                     bne        +0x10 /* 000057C6 */
  8343. 000057B8  7001                     moveq.l    D0, 0x01
  8344. 000057BA  C0AF 000E                and.l      D0, [A7 + 0xE]
  8345. 000057BE  6706                     beq        +0x8 /* 000057C6 */
  8346. 000057C0  7001                     moveq.l    D0, 0x01
  8347. 000057C2  2B40 8AAA                move.l     [A5 - 0x7556], D0
  8348. label000057C6:
  8349. 000057C6  4AAD 8AAA                tst.l      [A5 - 0x7556]
  8350. 000057CA  660C                     bne        +0xE /* 000057D8 */
  8351. 000057CC  7000                     moveq.l    D0, 0x00
  8352. 000057CE  4FEF 007C                lea.l      A7, [A7 + 0x7C]
  8353. 000057D2  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  8354. 000057D6  4E75                     rts
  8355. label000057D8:
  8356. 000057D8  594F                     subq.w     A7, 4
  8357. 000057DA  A8D8                     syscall    NewRgn
  8358. 000057DC  205F                     movea.l    A0, [A7]+
  8359. 000057DE  2648                     movea.l    A3, A0
  8360. 000057E0  200B                     move.l     D0, A3
  8361. 000057E2  660C                     bne        +0xE /* 000057F0 */
  8362. 000057E4  7000                     moveq.l    D0, 0x00
  8363. 000057E6  4FEF 007C                lea.l      A7, [A7 + 0x7C]
  8364. 000057EA  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  8365. 000057EE  4E75                     rts
  8366. label000057F0:
  8367. 000057F0  594F                     subq.w     A7, 4
  8368. 000057F2  A8D8                     syscall    NewRgn
  8369. 000057F4  205F                     movea.l    A0, [A7]+
  8370. 000057F6  2848                     movea.l    A4, A0
  8371. 000057F8  200C                     move.l     D0, A4
  8372. 000057FA  6610                     bne        +0x12 /* 0000580C */
  8373. 000057FC  2F0B                     move.l     -[A7], A3
  8374. 000057FE  A8D9                     syscall    DisposRgn/DisposeRgn
  8375. 00005800  7000                     moveq.l    D0, 0x00
  8376. 00005802  4FEF 007C                lea.l      A7, [A7 + 0x7C]
  8377. 00005806  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  8378. 0000580A  4E75                     rts
  8379. label0000580C:
  8380. 0000580C  4AAE 0008                tst.l      [A6 + 0x8]
  8381. 00005810  6714                     beq        +0x16 /* 00005826 */
  8382. 00005812  4878 0001                push.l     0x1
  8383. 00005816  2F0B                     move.l     -[A7], A3
  8384. 00005818  2F0E                     move.l     -[A7], A6
  8385. 0000581A  2F03                     move.l     -[A7], D3
  8386. 0000581C  2F0A                     move.l     -[A7], A2
  8387. 0000581E  4EBA 0668                jsr        [PC + 0x668 /* 00005E88 */]
  8388. 00005822  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8389. label00005826:
  8390. 00005826  42A7                     clr.l      -[A7]
  8391. 00005828  2F0B                     move.l     -[A7], A3
  8392. 0000582A  2F0E                     move.l     -[A7], A6
  8393. 0000582C  2F03                     move.l     -[A7], D3
  8394. 0000582E  2F0A                     move.l     -[A7], A2
  8395. 00005830  4EBA 0656                jsr        [PC + 0x656 /* 00005E88 */]
  8396. 00005834  2F2F 00C0                move.l     -[A7], [A7 + 0xC0]
  8397. 00005838  2F0B                     move.l     -[A7], A3
  8398. 0000583A  A8E8                     syscall    PtInRgn
  8399. 0000583C  101F                     move.b     D0, [A7]+
  8400. 0000583E  5300                     subq.b     D0, 1
  8401. 00005840  57C0                     seq        D0
  8402. 00005842  4400                     neg.b      D0
  8403. 00005844  4880                     ext.w      D0
  8404. 00005846  48C0                     ext.l      D0
  8405. 00005848  2A00                     move.l     D5, D0
  8406. 0000584A  4A85                     tst.l      D5
  8407. 0000584C  4FEF 0012                lea.l      A7, [A7 + 0x12]
  8408. 00005850  6700 01A8                beq        +0x1AA /* 000059FA */
  8409. 00005854  7A00                     moveq.l    D5, 0x00
  8410. 00005856  554F                     subq.w     A7, 2
  8411. 00005858  486F 0014                pea.l      [A7 + 0x14]
  8412. 0000585C  7005                     moveq.l    D0, 0x05
  8413. 0000585E  ABED                     syscall    DragDispatch
  8414. 00005860  301F                     move.w     D0, [A7]+
  8415. 00005862  6600 0196                bne        +0x198 /* 000059FA */
  8416. 00005866  1F3C 0006                move.b     -[A7], 0x6
  8417. 0000586A  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  8418. 0000586E  4EAD E818                jsr        [A5 - 0x17E8]
  8419. 00005872  3610                     move.w     D3, [A0]
  8420. 00005874  1F3C 0001                move.b     -[A7], 0x1
  8421. 00005878  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  8422. 0000587C  4EAD E818                jsr        [A5 - 0x17E8]
  8423. 00005880  2810                     move.l     D4, [A0]
  8424. 00005882  42A7                     clr.l      -[A7]
  8425. 00005884  2F04                     move.l     -[A7], D4
  8426. 00005886  3F03                     move.w     -[A7], D3
  8427. 00005888  486F 0016                pea.l      [A7 + 0x16]
  8428. 0000588C  486D E540                pea.l      [A5 - 0x1AC0]
  8429. 00005890  486F 0044                pea.l      [A7 + 0x44]
  8430. 00005894  4EAD D982                jsr        [A5 - 0x267E]
  8431. 00005898  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8432. 0000589C  2F08                     move.l     -[A7], A0
  8433. 0000589E  4EBA F75C                jsr        [PC - 0x8A4 /* 00004FFC */]
  8434. 000058A2  7800                     moveq.l    D4, 0x00
  8435. 000058A4  7601                     moveq.l    D3, 0x01
  8436. 000058A6  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  8437. 000058AA  6028                     bra        +0x2A /* 000058D4 */
  8438. label000058AC:
  8439. 000058AC  2F2F 0074                move.l     -[A7], [A7 + 0x74]
  8440. 000058B0  2F2F 007C                move.l     -[A7], [A7 + 0x7C]
  8441. 000058B4  486F 002E                pea.l      [A7 + 0x2E]
  8442. 000058B8  2057                     movea.l    A0, [A7]
  8443. 000058BA  2250                     movea.l    A1, [A0]
  8444. 000058BC  D1E9 0014                add.l      A0, [A1 + 0x14]
  8445. 000058C0  2E88                     move.l     [A7], A0
  8446. 000058C2  2269 0010                movea.l    A1, [A1 + 0x10]
  8447. 000058C6  4E91                     jsr        [A1]
  8448. 000058C8  4A80                     tst.l      D0
  8449. 000058CA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8450. 000058CE  6604                     bne        +0x6 /* 000058D4 */
  8451. 000058D0  7600                     moveq.l    D3, 0x00
  8452. 000058D2  601C                     bra        +0x1E /* 000058F0 */
  8453. label000058D4:
  8454. 000058D4  486F 0074                pea.l      [A7 + 0x74]
  8455. 000058D8  486F 007C                pea.l      [A7 + 0x7C]
  8456. 000058DC  2004                     move.l     D0, D4
  8457. 000058DE  5284                     addq.l     D4, 1
  8458. 000058E0  2F00                     move.l     -[A7], D0
  8459. 000058E2  2F0A                     move.l     -[A7], A2
  8460. 000058E4  4EBA 0ADC                jsr        [PC + 0xADC /* 000063C2 */]
  8461. 000058E8  4A80                     tst.l      D0
  8462. 000058EA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8463. 000058EE  66BC                     bne        -0x42 /* 000058AC */
  8464. label000058F0:
  8465. 000058F0  4A83                     tst.l      D3
  8466. 000058F2  6700 00F2                beq        +0xF4 /* 000059E6 */
  8467. 000058F6  486F 0026                pea.l      [A7 + 0x26]
  8468. 000058FA  4EBA F800                jsr        [PC - 0x800 /* 000050FC */]
  8469. 000058FE  2C48                     movea.l    A6, A0
  8470. 00005900  486F 002A                pea.l      [A7 + 0x2A]
  8471. 00005904  4EBA F800                jsr        [PC - 0x800 /* 00005106 */]
  8472. 00005908  2608                     move.l     D3, A0
  8473. 0000590A  204E                     movea.l    A0, A6
  8474. 0000590C  A029                     syscall    HLock
  8475. 0000590E  2043                     movea.l    A0, D3
  8476. 00005910  A029                     syscall    HLock
  8477. 00005912  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  8478. 00005916  42A7                     clr.l      -[A7]
  8479. 00005918  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  8480. 0000591E  2F16                     move.l     -[A7], [A6]
  8481. 00005920  594F                     subq.w     A7, 4
  8482. 00005922  2F0E                     move.l     -[A7], A6
  8483. 00005924  4EAD D9AC                jsr        [A5 - 0x2654]
  8484. 00005928  201F                     move.l     D0, [A7]+
  8485. 0000592A  2F00                     move.l     -[A7], D0
  8486. 0000592C  42A7                     clr.l      -[A7]
  8487. 0000592E  7007                     moveq.l    D0, 0x07
  8488. 00005930  ABED                     syscall    DragDispatch
  8489. 00005932  301F                     move.w     D0, [A7]+
  8490. 00005934  5C4F                     addq.w     A7, 6
  8491. 00005936  6600 00A6                bne        +0xA8 /* 000059DE */
  8492. 0000593A  554F                     subq.w     A7, 2
  8493. 0000593C  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  8494. 00005940  42A7                     clr.l      -[A7]
  8495. 00005942  2F3C 7374 796C           move.l     -[A7], 0x7374796C /* 'styl' */
  8496. 00005948  2043                     movea.l    A0, D3
  8497. 0000594A  2F10                     move.l     -[A7], [A0]
  8498. 0000594C  594F                     subq.w     A7, 4
  8499. 0000594E  2F03                     move.l     -[A7], D3
  8500. 00005950  4EAD D9AC                jsr        [A5 - 0x2654]
  8501. 00005954  201F                     move.l     D0, [A7]+
  8502. 00005956  2F00                     move.l     -[A7], D0
  8503. 00005958  42A7                     clr.l      -[A7]
  8504. 0000595A  7007                     moveq.l    D0, 0x07
  8505. 0000595C  ABED                     syscall    DragDispatch
  8506. 0000595E  301F                     move.w     D0, [A7]+
  8507. 00005960  667C                     bne        +0x7E /* 000059DE */
  8508. 00005962  4267                     clr.w      -[A7]
  8509. 00005964  4EAD DDA0                jsr        [A5 - 0x2260]
  8510. 00005968  2F0B                     move.l     -[A7], A3
  8511. 0000596A  2F0C                     move.l     -[A7], A4
  8512. 0000596C  A8DC                     syscall    CopyRgn
  8513. 0000596E  2F0C                     move.l     -[A7], A4
  8514. 00005970  2F3C 0001 0001           move.l     -[A7], 0x10001
  8515. 00005976  A8E1                     syscall    InsetRgn
  8516. 00005978  2F0B                     move.l     -[A7], A3
  8517. 0000597A  2F0C                     move.l     -[A7], A4
  8518. 0000597C  2F0B                     move.l     -[A7], A3
  8519. 0000597E  A8E6                     syscall    DiffRgn
  8520. 00005980  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  8521. 00005984  4EAD DD40                jsr        [A5 - 0x22C0]
  8522. 00005988  3F7C 0001 001A           move.w     [A7 + 0x1A], 0x1
  8523. 0000598E  2F6F 00B0 0024           move.l     [A7 + 0x24], [A7 + 0xB0]
  8524. 00005994  486F 0024                pea.l      [A7 + 0x24]
  8525. 00005998  A870                     syscall    LocalToGlobal
  8526. 0000599A  A975                     syscall    TickCount
  8527. 0000599C  201F                     move.l     D0, [A7]+
  8528. 0000599E  2F40 001C                move.l     [A7 + 0x1C], D0
  8529. 000059A2  2F0B                     move.l     -[A7], A3
  8530. 000059A4  302F 00B2                move.w     D0, [A7 + 0xB2]
  8531. 000059A8  48C0                     ext.l      D0
  8532. 000059AA  322F 0026                move.w     D1, [A7 + 0x26]
  8533. 000059AE  48C1                     ext.l      D1
  8534. 000059B0  9280                     sub.l      D1, D0
  8535. 000059B2  3F01                     move.w     -[A7], D1
  8536. 000059B4  302F 00B2                move.w     D0, [A7 + 0xB2]
  8537. 000059B8  48C0                     ext.l      D0
  8538. 000059BA  322F 0026                move.w     D1, [A7 + 0x26]
  8539. 000059BE  48C1                     ext.l      D1
  8540. 000059C0  9280                     sub.l      D1, D0
  8541. 000059C2  3F01                     move.w     -[A7], D1
  8542. 000059C4  A8E0                     syscall    OffsetRgn/OfsetRgn
  8543. 000059C6  554F                     subq.w     A7, 2
  8544. 000059C8  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  8545. 000059CC  486F 001C                pea.l      [A7 + 0x1C]
  8546. 000059D0  2F0B                     move.l     -[A7], A3
  8547. 000059D2  700D                     moveq.l    D0, 0x0D
  8548. 000059D4  ABED                     syscall    DragDispatch
  8549. 000059D6  301F                     move.w     D0, [A7]+
  8550. 000059D8  7A01                     moveq.l    D5, 0x01
  8551. 000059DA  4EAD DD48                jsr        [A5 - 0x22B8]
  8552. label000059DE:
  8553. 000059DE  204E                     movea.l    A0, A6
  8554. 000059E0  A02A                     syscall    HUnlock
  8555. 000059E2  2043                     movea.l    A0, D3
  8556. 000059E4  A02A                     syscall    HUnlock
  8557. label000059E6:
  8558. 000059E6  554F                     subq.w     A7, 2
  8559. 000059E8  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  8560. 000059EC  7006                     moveq.l    D0, 0x06
  8561. 000059EE  ABED                     syscall    DragDispatch
  8562. 000059F0  301F                     move.w     D0, [A7]+
  8563. 000059F2  4857                     pea.l      [A7]
  8564. 000059F4  4EAD D994                jsr        [A5 - 0x266C]
  8565. 000059F8  584F                     addq.w     A7, 4
  8566. label000059FA:
  8567. 000059FA  2F0C                     move.l     -[A7], A4
  8568. 000059FC  A8D9                     syscall    DisposRgn/DisposeRgn
  8569. 000059FE  2F0B                     move.l     -[A7], A3
  8570. 00005A00  A8D9                     syscall    DisposRgn/DisposeRgn
  8571. 00005A02  2005                     move.l     D0, D5
  8572. 00005A04  4FEF 007C                lea.l      A7, [A7 + 0x7C]
  8573. 00005A08  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  8574. 00005A0C  4E75                     rts
  8575. fn00005A0E:
  8576. 00005A0E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  8577. 00005A12  4FEF FF86                lea.l      A7, [A7 - 0x7A]
  8578. 00005A16  246F 00A2                movea.l    A2, [A7 + 0xA2]
  8579. 00005A1A  286F 00AA                movea.l    A4, [A7 + 0xAA]
  8580. 00005A1E  362F 00B2                move.w     D3, [A7 + 0xB2]
  8581. 00005A22  3003                     move.w     D0, D3
  8582. 00005A24  0280 0000 0300           andi.l     D0, 0x300
  8583. 00005A2A  661E                     bne        +0x20 /* 00005A4A */
  8584. 00005A2C  2F2F 00AE                move.l     -[A7], [A7 + 0xAE]
  8585. 00005A30  2F0C                     move.l     -[A7], A4
  8586. 00005A32  2F2F 00AE                move.l     -[A7], [A7 + 0xAE]
  8587. 00005A36  2054                     movea.l    A0, [A4]
  8588. 00005A38  4850                     pea.l      [A0]
  8589. 00005A3A  2F0A                     move.l     -[A7], A2
  8590. 00005A3C  4EBA FD26                jsr        [PC - 0x2DA /* 00005764 */]
  8591. 00005A40  4A80                     tst.l      D0
  8592. 00005A42  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8593. 00005A46  6600 0436                bne        +0x438 /* 00005E7E */
  8594. label00005A4A:
  8595. 00005A4A  3F3C 0001                move.w     -[A7], 0x1
  8596. 00005A4E  4EAD DDA0                jsr        [A5 - 0x2260]
  8597. 00005A52  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  8598. 00005A56  486F 0008                pea.l      [A7 + 0x8]
  8599. 00005A5A  486D E5C0                pea.l      [A5 - 0x1A40]
  8600. 00005A5E  486F 0026                pea.l      [A7 + 0x26]
  8601. 00005A62  4EAD D982                jsr        [A5 - 0x267E]
  8602. 00005A66  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8603. 00005A6A  2F08                     move.l     -[A7], A0
  8604. 00005A6C  4EBA FB2E                jsr        [PC - 0x4D2 /* 0000559C */]
  8605. 00005A70  42AF 004E                clr.l      [A7 + 0x4E]
  8606. 00005A74  42AF 003E                clr.l      [A7 + 0x3E]
  8607. 00005A78  0803 0009                btst.b     D3, 0x9 /* '\t' */
  8608. 00005A7C  504F                     addq.w     A7, 8
  8609. 00005A7E  6708                     beq        +0xA /* 00005A88 */
  8610. 00005A80  7001                     moveq.l    D0, 0x01
  8611. 00005A82  2F40 0046                move.l     [A7 + 0x46], D0
  8612. 00005A86  6018                     bra        +0x1A /* 00005AA0 */
  8613. label00005A88:
  8614. 00005A88  0803 0008                btst.b     D3, 0x8
  8615. 00005A8C  6712                     beq        +0x14 /* 00005AA0 */
  8616. 00005A8E  7001                     moveq.l    D0, 0x01
  8617. 00005A90  2F40 0036                move.l     [A7 + 0x36], D0
  8618. 00005A94  2F0A                     move.l     -[A7], A2
  8619. 00005A96  486F 001E                pea.l      [A7 + 0x1E]
  8620. 00005A9A  4EBA FB56                jsr        [PC - 0x4AA /* 000055F2 */]
  8621. 00005A9E  504F                     addq.w     A7, 8
  8622. label00005AA0:
  8623. 00005AA0  594F                     subq.w     A7, 4
  8624. 00005AA2  A8D8                     syscall    NewRgn
  8625. 00005AA4  205F                     movea.l    A0, [A7]+
  8626. 00005AA6  2C48                     movea.l    A6, A0
  8627. 00005AA8  200E                     move.l     D0, A6
  8628. 00005AAA  6612                     bne        +0x14 /* 00005ABE */
  8629. 00005AAC  486F 0004                pea.l      [A7 + 0x4]
  8630. 00005AB0  4EAD D994                jsr        [A5 - 0x266C]
  8631. 00005AB4  4FEF 007E                lea.l      A7, [A7 + 0x7E]
  8632. 00005AB8  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  8633. 00005ABC  4E75                     rts
  8634. label00005ABE:
  8635. 00005ABE  594F                     subq.w     A7, 4
  8636. 00005AC0  A8D8                     syscall    NewRgn
  8637. 00005AC2  205F                     movea.l    A0, [A7]+
  8638. 00005AC4  2648                     movea.l    A3, A0
  8639. 00005AC6  200B                     move.l     D0, A3
  8640. 00005AC8  6616                     bne        +0x18 /* 00005AE0 */
  8641. 00005ACA  2F0E                     move.l     -[A7], A6
  8642. 00005ACC  A8D9                     syscall    DisposRgn/DisposeRgn
  8643. 00005ACE  486F 0004                pea.l      [A7 + 0x4]
  8644. 00005AD2  4EAD D994                jsr        [A5 - 0x266C]
  8645. 00005AD6  4FEF 007E                lea.l      A7, [A7 + 0x7E]
  8646. 00005ADA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  8647. 00005ADE  4E75                     rts
  8648. label00005AE0:
  8649. 00005AE0  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  8650. 00005AE4  4EAD DD40                jsr        [A5 - 0x22C0]
  8651. 00005AE8  4EAD DD70                jsr        [A5 - 0x2290]
  8652. 00005AEC  42A7                     clr.l      -[A7]
  8653. 00005AEE  4EAD DD50                jsr        [A5 - 0x22B0]
  8654. 00005AF2  7600                     moveq.l    D3, 0x00
  8655. 00005AF4  4AAF 004E                tst.l      [A7 + 0x4E]
  8656. 00005AF8  504F                     addq.w     A7, 8
  8657. 00005AFA  6622                     bne        +0x24 /* 00005B1E */
  8658. 00005AFC  4AAF 0036                tst.l      [A7 + 0x36]
  8659. 00005B00  661C                     bne        +0x1E /* 00005B1E */
  8660. 00005B02  2F0C                     move.l     -[A7], A4
  8661. 00005B04  2F2F 00AA                move.l     -[A7], [A7 + 0xAA]
  8662. 00005B08  2F0A                     move.l     -[A7], A2
  8663. 00005B0A  4EBA 056C                jsr        [PC + 0x56C /* 00006078 */]
  8664. 00005B0E  4878 0001                push.l     0x1
  8665. 00005B12  2F0A                     move.l     -[A7], A2
  8666. 00005B14  4EBA FBFE                jsr        [PC - 0x402 /* 00005714 */]
  8667. 00005B18  7601                     moveq.l    D3, 0x01
  8668. 00005B1A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8669. label00005B1E:
  8670. 00005B1E  4AAC 0008                tst.l      [A4 + 0x8]
  8671. 00005B22  6754                     beq        +0x56 /* 00005B78 */
  8672. 00005B24  554F                     subq.w     A7, 2
  8673. 00005B26  2F2F 00B0                move.l     -[A7], [A7 + 0xB0]
  8674. 00005B2A  486C 0014                pea.l      [A4 + 0x14]
  8675. 00005B2E  A8AD                     syscall    PtInRect
  8676. 00005B30  101F                     move.b     D0, [A7]+
  8677. 00005B32  6744                     beq        +0x46 /* 00005B78 */
  8678. 00005B34  4A83                     tst.l      D3
  8679. 00005B36  6614                     bne        +0x16 /* 00005B4C */
  8680. 00005B38  4878 0001                push.l     0x1
  8681. 00005B3C  2F0C                     move.l     -[A7], A4
  8682. 00005B3E  2F2F 00AE                move.l     -[A7], [A7 + 0xAE]
  8683. 00005B42  2F0A                     move.l     -[A7], A2
  8684. 00005B44  4EBA FB62                jsr        [PC - 0x49E /* 000056A8 */]
  8685. 00005B48  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8686. label00005B4C:
  8687. 00005B4C  7601                     moveq.l    D3, 0x01
  8688. 00005B4E  2F6C 0014 0062           move.l     [A7 + 0x62], [A4 + 0x14]
  8689. 00005B54  2F6C 0018 0066           move.l     [A7 + 0x66], [A4 + 0x18]
  8690. 00005B5A  206C 0008                movea.l    A0, [A4 + 0x8]
  8691. 00005B5E  2F48 004E                move.l     [A7 + 0x4E], A0
  8692. 00005B62  1F3C 0002                move.b     -[A7], 0x2
  8693. 00005B66  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  8694. 00005B6A  4EAD EA18                jsr        [A5 - 0x15E8]
  8695. 00005B6E  486C 0014                pea.l      [A4 + 0x14]
  8696. 00005B72  A87B                     syscall    ClipRect
  8697. 00005B74  5C4F                     addq.w     A7, 6
  8698. 00005B76  6046                     bra        +0x48 /* 00005BBE */
  8699. label00005B78:
  8700. 00005B78  4A83                     tst.l      D3
  8701. 00005B7A  6618                     bne        +0x1A /* 00005B94 */
  8702. 00005B7C  4AAC 0008                tst.l      [A4 + 0x8]
  8703. 00005B80  6712                     beq        +0x14 /* 00005B94 */
  8704. 00005B82  42A7                     clr.l      -[A7]
  8705. 00005B84  2F0C                     move.l     -[A7], A4
  8706. 00005B86  2F2F 00AE                move.l     -[A7], [A7 + 0xAE]
  8707. 00005B8A  2F0A                     move.l     -[A7], A2
  8708. 00005B8C  4EBA FB1A                jsr        [PC - 0x4E6 /* 000056A8 */]
  8709. 00005B90  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8710. label00005B94:
  8711. 00005B94  7600                     moveq.l    D3, 0x00
  8712. 00005B96  2F6C 001C 0062           move.l     [A7 + 0x62], [A4 + 0x1C]
  8713. 00005B9C  2F6C 0020 0066           move.l     [A7 + 0x66], [A4 + 0x20]
  8714. 00005BA2  206C 0004                movea.l    A0, [A4 + 0x4]
  8715. 00005BA6  2F48 004E                move.l     [A7 + 0x4E], A0
  8716. 00005BAA  1F3C 0001                move.b     -[A7], 0x1
  8717. 00005BAE  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  8718. 00005BB2  4EAD EA18                jsr        [A5 - 0x15E8]
  8719. 00005BB6  486C 000C                pea.l      [A4 + 0xC]
  8720. 00005BBA  A87B                     syscall    ClipRect
  8721. 00005BBC  5C4F                     addq.w     A7, 6
  8722. label00005BBE:
  8723. 00005BBE  4AAA 000C                tst.l      [A2 + 0xC]
  8724. 00005BC2  670C                     beq        +0xE /* 00005BD0 */
  8725. 00005BC4  4AAF 0046                tst.l      [A7 + 0x46]
  8726. 00005BC8  663C                     bne        +0x3E /* 00005C06 */
  8727. 00005BCA  42AA 000C                clr.l      [A2 + 0xC]
  8728. 00005BCE  6036                     bra        +0x38 /* 00005C06 */
  8729. label00005BD0:
  8730. 00005BD0  4AAF 0046                tst.l      [A7 + 0x46]
  8731. 00005BD4  6706                     beq        +0x8 /* 00005BDC */
  8732. 00005BD6  42AA 0010                clr.l      [A2 + 0x10]
  8733. 00005BDA  602A                     bra        +0x2C /* 00005C06 */
  8734. label00005BDC:
  8735. 00005BDC  594F                     subq.w     A7, 4
  8736. 00005BDE  2EB8 02F0                move.l     [A7], [0x000002F0 /* DoubleTime */]
  8737. 00005BE2  201F                     move.l     D0, [A7]+
  8738. 00005BE4  2E80                     move.l     [A7], D0
  8739. 00005BE6  594F                     subq.w     A7, 4
  8740. 00005BE8  A975                     syscall    TickCount
  8741. 00005BEA  201F                     move.l     D0, [A7]+
  8742. 00005BEC  90AA 0010                sub.l      D0, [A2 + 0x10]
  8743. 00005BF0  B097                     cmp.l      D0, [A7]
  8744. 00005BF2  6208                     bhi        +0xA /* 00005BFC */
  8745. 00005BF4  7001                     moveq.l    D0, 0x01
  8746. 00005BF6  2540 000C                move.l     [A2 + 0xC], D0
  8747. 00005BFA  600A                     bra        +0xC /* 00005C06 */
  8748. label00005BFC:
  8749. 00005BFC  594F                     subq.w     A7, 4
  8750. 00005BFE  A975                     syscall    TickCount
  8751. 00005C00  201F                     move.l     D0, [A7]+
  8752. 00005C02  2540 0010                move.l     [A2 + 0x10], D0
  8753. label00005C06:
  8754. 00005C06  70FF                     moveq.l    D0, 0xFFFFFFFF
  8755. 00005C08  2F40 0072                move.l     [A7 + 0x72], D0
  8756. 00005C0C  78FF                     moveq.l    D4, 0xFFFFFFFF
  8757. 00005C0E  7001                     moveq.l    D0, 0x01
  8758. 00005C10  2F40 005E                move.l     [A7 + 0x5E], D0
  8759. 00005C14  4AAF 0046                tst.l      [A7 + 0x46]
  8760. 00005C18  6608                     bne        +0xA /* 00005C22 */
  8761. 00005C1A  203C 7FFF FFFF           move.l     D0, 0x7FFFFFFF
  8762. 00005C20  6018                     bra        +0x1A /* 00005C3A */
  8763. label00005C22:
  8764. 00005C22  4A92                     tst.l      [A2]
  8765. 00005C24  6706                     beq        +0x8 /* 00005C2C */
  8766. 00005C26  4AAA 0004                tst.l      [A2 + 0x4]
  8767. 00005C2A  6608                     bne        +0xA /* 00005C34 */
  8768. label00005C2C:
  8769. 00005C2C  203C 7FFF FFFF           move.l     D0, 0x7FFFFFFF
  8770. 00005C32  6006                     bra        +0x8 /* 00005C3A */
  8771. label00005C34:
  8772. 00005C34  2052                     movea.l    A0, [A2]
  8773. 00005C36  2050                     movea.l    A0, [A0]
  8774. 00005C38  2010                     move.l     D0, [A0]
  8775. label00005C3A:
  8776. 00005C3A  2800                     move.l     D4, D0
  8777. 00005C3C  7AFF                     moveq.l    D5, 0xFFFFFFFF
  8778. 00005C3E  202F 0046                move.l     D0, [A7 + 0x46]
  8779. 00005C42  57C0                     seq        D0
  8780. 00005C44  4400                     neg.b      D0
  8781. 00005C46  4880                     ext.w      D0
  8782. 00005C48  48C0                     ext.l      D0
  8783. 00005C4A  2F40 005A                move.l     [A7 + 0x5A], D0
  8784. 00005C4E  202F 0046                move.l     D0, [A7 + 0x46]
  8785. 00005C52  57C0                     seq        D0
  8786. 00005C54  4400                     neg.b      D0
  8787. 00005C56  4880                     ext.w      D0
  8788. 00005C58  48C0                     ext.l      D0
  8789. 00005C5A  2F40 004A                move.l     [A7 + 0x4A], D0
  8790. label00005C5E:
  8791. 00005C5E  4AAF 005E                tst.l      [A7 + 0x5E]
  8792. 00005C62  6612                     bne        +0x14 /* 00005C76 */
  8793. 00005C64  554F                     subq.w     A7, 2
  8794. 00005C66  2F2F 0044                move.l     -[A7], [A7 + 0x44]
  8795. 00005C6A  2F2F 00B4                move.l     -[A7], [A7 + 0xB4]
  8796. 00005C6E  A881                     syscall    EqualPt
  8797. 00005C70  101F                     move.b     D0, [A7]+
  8798. 00005C72  6600 01C4                bne        +0x1C6 /* 00005E38 */
  8799. label00005C76:
  8800. 00005C76  594F                     subq.w     A7, 4
  8801. 00005C78  486F 0066                pea.l      [A7 + 0x66]
  8802. 00005C7C  2F2F 00B6                move.l     -[A7], [A7 + 0xB6]
  8803. 00005C80  A94E                     syscall    PinRect
  8804. 00005C82  201F                     move.l     D0, [A7]+
  8805. 00005C84  2F40 003E                move.l     [A7 + 0x3E], D0
  8806. 00005C88  2F40 003A                move.l     [A7 + 0x3A], D0
  8807. 00005C8C  42AF 005E                clr.l      [A7 + 0x5E]
  8808. 00005C90  2F6F 00AE 0042           move.l     [A7 + 0x42], [A7 + 0xAE]
  8809. 00005C96  42AF 0056                clr.l      [A7 + 0x56]
  8810. 00005C9A  42AF 0052                clr.l      [A7 + 0x52]
  8811. 00005C9E  4A83                     tst.l      D3
  8812. 00005CA0  661A                     bne        +0x1C /* 00005CBC */
  8813. 00005CA2  486F 0014                pea.l      [A7 + 0x14]
  8814. 00005CA6  486F 0056                pea.l      [A7 + 0x56]
  8815. 00005CAA  486F 005E                pea.l      [A7 + 0x5E]
  8816. 00005CAE  4227                     clr.b      -[A7]
  8817. 00005CB0  2F2D 15F8                move.l     -[A7], [A5 + 0x15F8]
  8818. 00005CB4  4EAD E9C0                jsr        [A5 - 0x1640]
  8819. 00005CB8  4FEF 0012                lea.l      A7, [A7 + 0x12]
  8820. label00005CBC:
  8821. 00005CBC  4AAA 000C                tst.l      [A2 + 0xC]
  8822. 00005CC0  6604                     bne        +0x6 /* 00005CC6 */
  8823. 00005CC2  7000                     moveq.l    D0, 0x00
  8824. 00005CC4  6002                     bra        +0x4 /* 00005CC8 */
  8825. label00005CC6:
  8826. 00005CC6  7001                     moveq.l    D0, 0x01
  8827. label00005CC8:
  8828. 00005CC8  2C00                     move.l     D6, D0
  8829. 00005CCA  206F 004E                movea.l    A0, [A7 + 0x4E]
  8830. 00005CCE  2050                     movea.l    A0, [A0]
  8831. 00005CD0  2F68 0002 006A           move.l     [A7 + 0x6A], [A0 + 0x2]
  8832. 00005CD6  2F68 0006 006E           move.l     [A7 + 0x6E], [A0 + 0x6]
  8833. 00005CDC  486F 006A                pea.l      [A7 + 0x6A]
  8834. 00005CE0  302F 0070                move.w     D0, [A7 + 0x70]
  8835. 00005CE4  48C0                     ext.l      D0
  8836. 00005CE6  322F 0068                move.w     D1, [A7 + 0x68]
  8837. 00005CEA  48C1                     ext.l      D1
  8838. 00005CEC  9280                     sub.l      D1, D0
  8839. 00005CEE  92AF 005A                sub.l      D1, [A7 + 0x5A]
  8840. 00005CF2  3F01                     move.w     -[A7], D1
  8841. 00005CF4  302F 0070                move.w     D0, [A7 + 0x70]
  8842. 00005CF8  48C0                     ext.l      D0
  8843. 00005CFA  322F 0068                move.w     D1, [A7 + 0x68]
  8844. 00005CFE  48C1                     ext.l      D1
  8845. 00005D00  9280                     sub.l      D1, D0
  8846. 00005D02  92AF 0058                sub.l      D1, [A7 + 0x58]
  8847. 00005D06  3F01                     move.w     -[A7], D1
  8848. 00005D08  A8A8                     syscall    OffsetRect
  8849. 00005D0A  2F06                     move.l     -[A7], D6
  8850. 00005D0C  2F04                     move.l     -[A7], D4
  8851. 00005D0E  486F 0020                pea.l      [A7 + 0x20]
  8852. 00005D12  2F2F 0046                move.l     -[A7], [A7 + 0x46]
  8853. 00005D16  486F 007A                pea.l      [A7 + 0x7A]
  8854. 00005D1A  2F2F 0062                move.l     -[A7], [A7 + 0x62]
  8855. 00005D1E  2F2F 00BE                move.l     -[A7], [A7 + 0xBE]
  8856. 00005D22  4EAD DADE                jsr        [A5 - 0x2522]
  8857. 00005D26  2F40 0092                move.l     [A7 + 0x92], D0
  8858. 00005D2A  4A80                     tst.l      D0
  8859. 00005D2C  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  8860. 00005D30  6D00 0106                blt        +0x108 /* 00005E38 */
  8861. 00005D34  4AAA 000C                tst.l      [A2 + 0xC]
  8862. 00005D38  6714                     beq        +0x16 /* 00005D4E */
  8863. 00005D3A  4AAF 005A                tst.l      [A7 + 0x5A]
  8864. 00005D3E  660E                     bne        +0x10 /* 00005D4E */
  8865. 00005D40  4AAF 004A                tst.l      [A7 + 0x4A]
  8866. 00005D44  6708                     beq        +0xA /* 00005D4E */
  8867. 00005D46  42AF 004A                clr.l      [A7 + 0x4A]
  8868. 00005D4A  2A2F 0076                move.l     D5, [A7 + 0x76]
  8869. label00005D4E:
  8870. 00005D4E  4AAA 000C                tst.l      [A2 + 0xC]
  8871. 00005D52  6714                     beq        +0x16 /* 00005D68 */
  8872. 00005D54  4AAF 005A                tst.l      [A7 + 0x5A]
  8873. 00005D58  670E                     beq        +0x10 /* 00005D68 */
  8874. 00005D5A  42AF 005A                clr.l      [A7 + 0x5A]
  8875. 00005D5E  282F 0076                move.l     D4, [A7 + 0x76]
  8876. 00005D62  7001                     moveq.l    D0, 0x01
  8877. 00005D64  2F40 005E                move.l     [A7 + 0x5E], D0
  8878. label00005D68:
  8879. 00005D68  4AAF 0072                tst.l      [A7 + 0x72]
  8880. 00005D6C  6C1E                     bge        +0x20 /* 00005D8C */
  8881. 00005D6E  4AAF 0046                tst.l      [A7 + 0x46]
  8882. 00005D72  6712                     beq        +0x14 /* 00005D86 */
  8883. 00005D74  2F2F 0076                move.l     -[A7], [A7 + 0x76]
  8884. 00005D78  2F0A                     move.l     -[A7], A2
  8885. 00005D7A  4EBA F9BA                jsr        [PC - 0x646 /* 00005736 */]
  8886. 00005D7E  2F40 007A                move.l     [A7 + 0x7A], D0
  8887. 00005D82  504F                     addq.w     A7, 8
  8888. 00005D84  6006                     bra        +0x8 /* 00005D8C */
  8889. label00005D86:
  8890. 00005D86  2F6F 0076 0072           move.l     [A7 + 0x72], [A7 + 0x76]
  8891. label00005D8C:
  8892. 00005D8C  2F0E                     move.l     -[A7], A6
  8893. 00005D8E  A8DD                     syscall    SetEmptyRgn
  8894. 00005D90  2F03                     move.l     -[A7], D3
  8895. 00005D92  2F0E                     move.l     -[A7], A6
  8896. 00005D94  2F0C                     move.l     -[A7], A4
  8897. 00005D96  2F2F 00B2                move.l     -[A7], [A7 + 0xB2]
  8898. 00005D9A  2F0A                     move.l     -[A7], A2
  8899. 00005D9C  4EBA 00EA                jsr        [PC + 0xEA /* 00005E88 */]
  8900. 00005DA0  202F 0086                move.l     D0, [A7 + 0x86]
  8901. 00005DA4  B0AF 008A                cmp.l      D0, [A7 + 0x8A]
  8902. 00005DA8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8903. 00005DAC  6D06                     blt        +0x8 /* 00005DB4 */
  8904. 00005DAE  41EF 0076                lea.l      A0, [A7 + 0x76]
  8905. 00005DB2  6004                     bra        +0x6 /* 00005DB8 */
  8906. label00005DB4:
  8907. 00005DB4  41EF 0072                lea.l      A0, [A7 + 0x72]
  8908. label00005DB8:
  8909. 00005DB8  2C10                     move.l     D6, [A0]
  8910. 00005DBA  202F 0072                move.l     D0, [A7 + 0x72]
  8911. 00005DBE  B0AF 0076                cmp.l      D0, [A7 + 0x76]
  8912. 00005DC2  6E06                     bgt        +0x8 /* 00005DCA */
  8913. 00005DC4  41EF 0076                lea.l      A0, [A7 + 0x76]
  8914. 00005DC8  6004                     bra        +0x6 /* 00005DCE */
  8915. label00005DCA:
  8916. 00005DCA  41EF 0072                lea.l      A0, [A7 + 0x72]
  8917. label00005DCE:
  8918. 00005DCE  2E10                     move.l     D7, [A0]
  8919. 00005DD0  4AAA 000C                tst.l      [A2 + 0xC]
  8920. 00005DD4  6710                     beq        +0x12 /* 00005DE6 */
  8921. 00005DD6  4A85                     tst.l      D5
  8922. 00005DD8  6D0C                     blt        +0xE /* 00005DE6 */
  8923. 00005DDA  BC84                     cmp.l      D6, D4
  8924. 00005DDC  6F02                     ble        +0x4 /* 00005DE0 */
  8925. 00005DDE  2C04                     move.l     D6, D4
  8926. label00005DE0:
  8927. 00005DE0  BE85                     cmp.l      D7, D5
  8928. 00005DE2  6C02                     bge        +0x4 /* 00005DE6 */
  8929. 00005DE4  2E05                     move.l     D7, D5
  8930. label00005DE6:
  8931. 00005DE6  42A7                     clr.l      -[A7]
  8932. 00005DE8  2F0A                     move.l     -[A7], A2
  8933. 00005DEA  4EBA F928                jsr        [PC - 0x6D8 /* 00005714 */]
  8934. 00005DEE  2F07                     move.l     -[A7], D7
  8935. 00005DF0  2F06                     move.l     -[A7], D6
  8936. 00005DF2  2F0A                     move.l     -[A7], A2
  8937. 00005DF4  4EBA F82C                jsr        [PC - 0x7D4 /* 00005622 */]
  8938. 00005DF8  3F40 0026                move.w     [A7 + 0x26], D0
  8939. 00005DFC  4AAF 004A                tst.l      [A7 + 0x4A]
  8940. 00005E00  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8941. 00005E04  670C                     beq        +0xE /* 00005E12 */
  8942. 00005E06  486F 001A                pea.l      [A7 + 0x1A]
  8943. 00005E0A  2F0A                     move.l     -[A7], A2
  8944. 00005E0C  4EBA 02F8                jsr        [PC + 0x2F8 /* 00006106 */]
  8945. 00005E10  504F                     addq.w     A7, 8
  8946. label00005E12:
  8947. 00005E12  2F0B                     move.l     -[A7], A3
  8948. 00005E14  A8DD                     syscall    SetEmptyRgn
  8949. 00005E16  2F03                     move.l     -[A7], D3
  8950. 00005E18  2F0B                     move.l     -[A7], A3
  8951. 00005E1A  2F0C                     move.l     -[A7], A4
  8952. 00005E1C  2F2F 00B2                move.l     -[A7], [A7 + 0xB2]
  8953. 00005E20  2F0A                     move.l     -[A7], A2
  8954. 00005E22  4EBA 0064                jsr        [PC + 0x64 /* 00005E88 */]
  8955. 00005E26  2F0B                     move.l     -[A7], A3
  8956. 00005E28  2F0E                     move.l     -[A7], A6
  8957. 00005E2A  2F0B                     move.l     -[A7], A3
  8958. 00005E2C  A8E7                     syscall    XorRgn
  8959. 00005E2E  2F0B                     move.l     -[A7], A3
  8960. 00005E30  4EAD DE58                jsr        [A5 - 0x21A8]
  8961. 00005E34  4FEF 0018                lea.l      A7, [A7 + 0x18]
  8962. label00005E38:
  8963. 00005E38  486F 00AE                pea.l      [A7 + 0xAE]
  8964. 00005E3C  A972                     syscall    GetMouse
  8965. 00005E3E  4A83                     tst.l      D3
  8966. 00005E40  6614                     bne        +0x16 /* 00005E56 */
  8967. 00005E42  42A7                     clr.l      -[A7]
  8968. 00005E44  486C 000C                pea.l      [A4 + 0xC]
  8969. 00005E48  2F2F 00B6                move.l     -[A7], [A7 + 0xB6]
  8970. 00005E4C  206F 00C0                movea.l    A0, [A7 + 0xC0]
  8971. 00005E50  4E90                     jsr        [A0]
  8972. 00005E52  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8973. label00005E56:
  8974. 00005E56  554F                     subq.w     A7, 2
  8975. 00005E58  A973                     syscall    StillDown
  8976. 00005E5A  101F                     move.b     D0, [A7]+
  8977. 00005E5C  6600 FE00                bne        -0x1FE /* 00005C5E */
  8978. 00005E60  4EAD DD58                jsr        [A5 - 0x22A8]
  8979. 00005E64  4EAD DD78                jsr        [A5 - 0x2288]
  8980. 00005E68  4EAD DD48                jsr        [A5 - 0x22B8]
  8981. 00005E6C  2F0B                     move.l     -[A7], A3
  8982. 00005E6E  A8D9                     syscall    DisposRgn/DisposeRgn
  8983. 00005E70  2F0E                     move.l     -[A7], A6
  8984. 00005E72  A8D9                     syscall    DisposRgn/DisposeRgn
  8985. 00005E74  486F 0004                pea.l      [A7 + 0x4]
  8986. 00005E78  4EAD D994                jsr        [A5 - 0x266C]
  8987. 00005E7C  584F                     addq.w     A7, 4
  8988. label00005E7E:
  8989. 00005E7E  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  8990. 00005E82  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  8991. 00005E86  4E75                     rts
  8992. fn00005E88:
  8993. 00005E88  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  8994. 00005E8C  4FEF FFE4                lea.l      A7, [A7 - 0x1C]
  8995. 00005E90  286F 0038                movea.l    A4, [A7 + 0x38]
  8996. 00005E94  282F 003C                move.l     D4, [A7 + 0x3C]
  8997. 00005E98  246F 0040                movea.l    A2, [A7 + 0x40]
  8998. 00005E9C  2C6F 0044                movea.l    A6, [A7 + 0x44]
  8999. 00005EA0  262F 0048                move.l     D3, [A7 + 0x48]
  9000. 00005EA4  4AAC 0004                tst.l      [A4 + 0x4]
  9001. 00005EA8  6700 00BA                beq        +0xBC /* 00005F64 */
  9002. 00005EAC  4A83                     tst.l      D3
  9003. 00005EAE  6712                     beq        +0x14 /* 00005EC2 */
  9004. 00005EB0  2F6A 0014 000C           move.l     [A7 + 0xC], [A2 + 0x14]
  9005. 00005EB6  2F6A 0018 0010           move.l     [A7 + 0x10], [A2 + 0x18]
  9006. 00005EBC  266A 0008                movea.l    A3, [A2 + 0x8]
  9007. 00005EC0  6010                     bra        +0x12 /* 00005ED2 */
  9008. label00005EC2:
  9009. 00005EC2  2F6A 001C 000C           move.l     [A7 + 0xC], [A2 + 0x1C]
  9010. 00005EC8  2F6A 0020 0010           move.l     [A7 + 0x10], [A2 + 0x20]
  9011. 00005ECE  266A 0004                movea.l    A3, [A2 + 0x4]
  9012. label00005ED2:
  9013. 00005ED2  42AF 0008                clr.l      [A7 + 0x8]
  9014. 00005ED6  42AF 0004                clr.l      [A7 + 0x4]
  9015. 00005EDA  4A83                     tst.l      D3
  9016. 00005EDC  6618                     bne        +0x1A /* 00005EF6 */
  9017. 00005EDE  4857                     pea.l      [A7]
  9018. 00005EE0  486F 0008                pea.l      [A7 + 0x8]
  9019. 00005EE4  486F 0010                pea.l      [A7 + 0x10]
  9020. 00005EE8  4227                     clr.b      -[A7]
  9021. 00005EEA  2F2C 0008                move.l     -[A7], [A4 + 0x8]
  9022. 00005EEE  4EAD E9C0                jsr        [A5 - 0x1640]
  9023. 00005EF2  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9024. label00005EF6:
  9025. 00005EF6  7600                     moveq.l    D3, 0x00
  9026. 00005EF8  6064                     bra        +0x66 /* 00005F5E */
  9027. label00005EFA:
  9028. 00005EFA  2003                     move.l     D0, D3
  9029. 00005EFC  E788                     lsl        D0, 3
  9030. 00005EFE  2454                     movea.l    A2, [A4]
  9031. 00005F00  2452                     movea.l    A2, [A2]
  9032. 00005F02  D5C0                     add.l      A2, D0
  9033. 00005F04  2053                     movea.l    A0, [A3]
  9034. 00005F06  2F68 0002 0014           move.l     [A7 + 0x14], [A0 + 0x2]
  9035. 00005F0C  2F68 0006 0018           move.l     [A7 + 0x18], [A0 + 0x6]
  9036. 00005F12  486F 0014                pea.l      [A7 + 0x14]
  9037. 00005F16  302F 001A                move.w     D0, [A7 + 0x1A]
  9038. 00005F1A  48C0                     ext.l      D0
  9039. 00005F1C  322F 0012                move.w     D1, [A7 + 0x12]
  9040. 00005F20  48C1                     ext.l      D1
  9041. 00005F22  9280                     sub.l      D1, D0
  9042. 00005F24  92AF 000C                sub.l      D1, [A7 + 0xC]
  9043. 00005F28  3F01                     move.w     -[A7], D1
  9044. 00005F2A  302F 001A                move.w     D0, [A7 + 0x1A]
  9045. 00005F2E  48C0                     ext.l      D0
  9046. 00005F30  322F 0012                move.w     D1, [A7 + 0x12]
  9047. 00005F34  48C1                     ext.l      D1
  9048. 00005F36  9280                     sub.l      D1, D0
  9049. 00005F38  92AF 000A                sub.l      D1, [A7 + 0xA]
  9050. 00005F3C  3F01                     move.w     -[A7], D1
  9051. 00005F3E  A8A8                     syscall    OffsetRect
  9052. 00005F40  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  9053. 00005F44  2F12                     move.l     -[A7], [A2]
  9054. 00005F46  486F 0014                pea.l      [A7 + 0x14]
  9055. 00005F4A  486F 0020                pea.l      [A7 + 0x20]
  9056. 00005F4E  2F0B                     move.l     -[A7], A3
  9057. 00005F50  2F0E                     move.l     -[A7], A6
  9058. 00005F52  2F04                     move.l     -[A7], D4
  9059. 00005F54  4EAD DAD8                jsr        [A5 - 0x2528]
  9060. 00005F58  5283                     addq.l     D3, 1
  9061. 00005F5A  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  9062. label00005F5E:
  9063. 00005F5E  B6AC 0004                cmp.l      D3, [A4 + 0x4]
  9064. 00005F62  6D96                     blt        -0x68 /* 00005EFA */
  9065. label00005F64:
  9066. 00005F64  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  9067. 00005F68  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  9068. 00005F6C  4E75                     rts
  9069. fn00005F6E:
  9070. 00005F6E  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  9071. 00005F72  2C6F 0018                movea.l    A6, [A7 + 0x18]
  9072. 00005F76  262F 001C                move.l     D3, [A7 + 0x1C]
  9073. 00005F7A  286F 0020                movea.l    A4, [A7 + 0x20]
  9074. 00005F7E  2D6F 0024 0014           move.l     [A6 + 0x14], [A7 + 0x24]
  9075. 00005F84  594F                     subq.w     A7, 4
  9076. 00005F86  A8D8                     syscall    NewRgn
  9077. 00005F88  205F                     movea.l    A0, [A7]+
  9078. 00005F8A  2448                     movea.l    A2, A0
  9079. 00005F8C  200A                     move.l     D0, A2
  9080. 00005F8E  6700 0088                beq        +0x8A /* 00006018 */
  9081. 00005F92  594F                     subq.w     A7, 4
  9082. 00005F94  A8D8                     syscall    NewRgn
  9083. 00005F96  205F                     movea.l    A0, [A7]+
  9084. 00005F98  2648                     movea.l    A3, A0
  9085. 00005F9A  200B                     move.l     D0, A3
  9086. 00005F9C  660A                     bne        +0xC /* 00005FA8 */
  9087. 00005F9E  2F0A                     move.l     -[A7], A2
  9088. 00005FA0  A8D9                     syscall    DisposRgn/DisposeRgn
  9089. 00005FA2  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  9090. 00005FA6  4E75                     rts
  9091. label00005FA8:
  9092. 00005FA8  4AAC 0008                tst.l      [A4 + 0x8]
  9093. 00005FAC  6734                     beq        +0x36 /* 00005FE2 */
  9094. 00005FAE  4878 0001                push.l     0x1
  9095. 00005FB2  2F0A                     move.l     -[A7], A2
  9096. 00005FB4  2F0C                     move.l     -[A7], A4
  9097. 00005FB6  2F03                     move.l     -[A7], D3
  9098. 00005FB8  2F0E                     move.l     -[A7], A6
  9099. 00005FBA  4EBA FECC                jsr        [PC - 0x134 /* 00005E88 */]
  9100. 00005FBE  2F0A                     move.l     -[A7], A2
  9101. 00005FC0  4878 FFFF                push.l     0xFFFF
  9102. 00005FC4  A8E1                     syscall    InsetRgn
  9103. 00005FC6  2F0B                     move.l     -[A7], A3
  9104. 00005FC8  486C 0014                pea.l      [A4 + 0x14]
  9105. 00005FCC  A8DF                     syscall    RectRgn
  9106. 00005FCE  2F0A                     move.l     -[A7], A2
  9107. 00005FD0  2F0B                     move.l     -[A7], A3
  9108. 00005FD2  2F0A                     move.l     -[A7], A2
  9109. 00005FD4  A8E4                     syscall    SectRgn
  9110. 00005FD6  2F0A                     move.l     -[A7], A2
  9111. 00005FD8  A927                     syscall    InvalRgn
  9112. 00005FDA  2F0A                     move.l     -[A7], A2
  9113. 00005FDC  A8DD                     syscall    SetEmptyRgn
  9114. 00005FDE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  9115. label00005FE2:
  9116. 00005FE2  42A7                     clr.l      -[A7]
  9117. 00005FE4  2F0A                     move.l     -[A7], A2
  9118. 00005FE6  2F0C                     move.l     -[A7], A4
  9119. 00005FE8  2F03                     move.l     -[A7], D3
  9120. 00005FEA  2F0E                     move.l     -[A7], A6
  9121. 00005FEC  4EBA FE9A                jsr        [PC - 0x166 /* 00005E88 */]
  9122. 00005FF0  2F0A                     move.l     -[A7], A2
  9123. 00005FF2  4878 FFFF                push.l     0xFFFF
  9124. 00005FF6  A8E1                     syscall    InsetRgn
  9125. 00005FF8  2F0B                     move.l     -[A7], A3
  9126. 00005FFA  486C 000C                pea.l      [A4 + 0xC]
  9127. 00005FFE  A8DF                     syscall    RectRgn
  9128. 00006000  2F0A                     move.l     -[A7], A2
  9129. 00006002  2F0B                     move.l     -[A7], A3
  9130. 00006004  2F0A                     move.l     -[A7], A2
  9131. 00006006  A8E4                     syscall    SectRgn
  9132. 00006008  2F0A                     move.l     -[A7], A2
  9133. 0000600A  A927                     syscall    InvalRgn
  9134. 0000600C  2F0B                     move.l     -[A7], A3
  9135. 0000600E  A8D9                     syscall    DisposRgn/DisposeRgn
  9136. 00006010  2F0A                     move.l     -[A7], A2
  9137. 00006012  A8D9                     syscall    DisposRgn/DisposeRgn
  9138. 00006014  4FEF 0014                lea.l      A7, [A7 + 0x14]
  9139. label00006018:
  9140. 00006018  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  9141. 0000601C  4E75                     rts
  9142. fn0000601E:
  9143. 0000601E  48E7 0030                movem.l    -[A7], A2,A3
  9144. 00006022  246F 000C                movea.l    A2, [A7 + 0xC]
  9145. 00006026  266F 0010                movea.l    A3, [A7 + 0x10]
  9146. 0000602A  1F2F 0014                move.b     -[A7], [A7 + 0x14]
  9147. 0000602E  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  9148. 00006032  4EAD EA18                jsr        [A5 - 0x15E8]
  9149. 00006036  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  9150. 0000603A  A87B                     syscall    ClipRect
  9151. 0000603C  4AAA 0014                tst.l      [A2 + 0x14]
  9152. 00006040  5C4F                     addq.w     A7, 6
  9153. 00006042  6626                     bne        +0x28 /* 0000606A */
  9154. 00006044  594F                     subq.w     A7, 4
  9155. 00006046  A8D8                     syscall    NewRgn
  9156. 00006048  205F                     movea.l    A0, [A7]+
  9157. 0000604A  2448                     movea.l    A2, A0
  9158. 0000604C  200A                     move.l     D0, A2
  9159. 0000604E  671A                     beq        +0x1C /* 0000606A */
  9160. 00006050  2F0B                     move.l     -[A7], A3
  9161. 00006052  2F0A                     move.l     -[A7], A2
  9162. 00006054  A8DC                     syscall    CopyRgn
  9163. 00006056  2F0B                     move.l     -[A7], A3
  9164. 00006058  4878 FFFF                push.l     0xFFFF
  9165. 0000605C  A8E1                     syscall    InsetRgn
  9166. 0000605E  2F0B                     move.l     -[A7], A3
  9167. 00006060  2F0A                     move.l     -[A7], A2
  9168. 00006062  2F0B                     move.l     -[A7], A3
  9169. 00006064  A8E6                     syscall    DiffRgn
  9170. 00006066  2F0A                     move.l     -[A7], A2
  9171. 00006068  A8D9                     syscall    DisposRgn/DisposeRgn
  9172. label0000606A:
  9173. 0000606A  2F0B                     move.l     -[A7], A3
  9174. 0000606C  4EAD DE58                jsr        [A5 - 0x21A8]
  9175. 00006070  584F                     addq.w     A7, 4
  9176. 00006072  4CDF 0C00                movem.l    A2,A3, [A7]+
  9177. 00006076  4E75                     rts
  9178. fn00006078:
  9179. 00006078  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  9180. 0000607C  286F 0014                movea.l    A4, [A7 + 0x14]
  9181. 00006080  2C6F 0018                movea.l    A6, [A7 + 0x18]
  9182. 00006084  266F 001C                movea.l    A3, [A7 + 0x1C]
  9183. 00006088  4A94                     tst.l      [A4]
  9184. 0000608A  6774                     beq        +0x76 /* 00006100 */
  9185. 0000608C  594F                     subq.w     A7, 4
  9186. 0000608E  A8D8                     syscall    NewRgn
  9187. 00006090  205F                     movea.l    A0, [A7]+
  9188. 00006092  2448                     movea.l    A2, A0
  9189. 00006094  200A                     move.l     D0, A2
  9190. 00006096  6768                     beq        +0x6A /* 00006100 */
  9191. 00006098  4EAD DD70                jsr        [A5 - 0x2290]
  9192. 0000609C  42A7                     clr.l      -[A7]
  9193. 0000609E  4EAD DD50                jsr        [A5 - 0x22B0]
  9194. 000060A2  4AAB 0008                tst.l      [A3 + 0x8]
  9195. 000060A6  584F                     addq.w     A7, 4
  9196. 000060A8  6728                     beq        +0x2A /* 000060D2 */
  9197. 000060AA  4878 0001                push.l     0x1
  9198. 000060AE  2F0A                     move.l     -[A7], A2
  9199. 000060B0  2F0B                     move.l     -[A7], A3
  9200. 000060B2  2F0E                     move.l     -[A7], A6
  9201. 000060B4  2F0C                     move.l     -[A7], A4
  9202. 000060B6  4EBA FDD0                jsr        [PC - 0x230 /* 00005E88 */]
  9203. 000060BA  486B 0014                pea.l      [A3 + 0x14]
  9204. 000060BE  1F3C 0002                move.b     -[A7], 0x2
  9205. 000060C2  2F0A                     move.l     -[A7], A2
  9206. 000060C4  2F0C                     move.l     -[A7], A4
  9207. 000060C6  4EBA FF56                jsr        [PC - 0xAA /* 0000601E */]
  9208. 000060CA  2F0A                     move.l     -[A7], A2
  9209. 000060CC  A8DD                     syscall    SetEmptyRgn
  9210. 000060CE  4FEF 0022                lea.l      A7, [A7 + 0x22]
  9211. label000060D2:
  9212. 000060D2  42A7                     clr.l      -[A7]
  9213. 000060D4  2F0A                     move.l     -[A7], A2
  9214. 000060D6  2F0B                     move.l     -[A7], A3
  9215. 000060D8  2F0E                     move.l     -[A7], A6
  9216. 000060DA  2F0C                     move.l     -[A7], A4
  9217. 000060DC  4EBA FDAA                jsr        [PC - 0x256 /* 00005E88 */]
  9218. 000060E0  486B 000C                pea.l      [A3 + 0xC]
  9219. 000060E4  1F3C 0001                move.b     -[A7], 0x1
  9220. 000060E8  2F0A                     move.l     -[A7], A2
  9221. 000060EA  2F0C                     move.l     -[A7], A4
  9222. 000060EC  4EBA FF30                jsr        [PC - 0xD0 /* 0000601E */]
  9223. 000060F0  4EAD DD58                jsr        [A5 - 0x22A8]
  9224. 000060F4  4EAD DD78                jsr        [A5 - 0x2288]
  9225. 000060F8  2F0A                     move.l     -[A7], A2
  9226. 000060FA  A8D9                     syscall    DisposRgn/DisposeRgn
  9227. 000060FC  4FEF 0022                lea.l      A7, [A7 + 0x22]
  9228. label00006100:
  9229. 00006100  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  9230. 00006104  4E75                     rts
  9231. fn00006106:
  9232. 00006106  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  9233. 0000610A  4FEF FFCE                lea.l      A7, [A7 - 0x32]
  9234. 0000610E  2C2F 005E                move.l     D6, [A7 + 0x5E]
  9235. 00006112  2046                     movea.l    A0, D6
  9236. 00006114  2A28 0004                move.l     D5, [A0 + 0x4]
  9237. 00006118  4A85                     tst.l      D5
  9238. 0000611A  660E                     bne        +0x10 /* 0000612A */
  9239. 0000611C  206F 005A                movea.l    A0, [A7 + 0x5A]
  9240. 00006120  4FEF 0032                lea.l      A7, [A7 + 0x32]
  9241. 00006124  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  9242. 00006128  4E75                     rts
  9243. label0000612A:
  9244. 0000612A  206F 005A                movea.l    A0, [A7 + 0x5A]
  9245. 0000612E  2628 0004                move.l     D3, [A0 + 0x4]
  9246. 00006132  4A83                     tst.l      D3
  9247. 00006134  6614                     bne        +0x16 /* 0000614A */
  9248. 00006136  2F06                     move.l     -[A7], D6
  9249. 00006138  2F2F 005E                move.l     -[A7], [A7 + 0x5E]
  9250. 0000613C  4EBA F4B4                jsr        [PC - 0xB4C /* 000055F2 */]
  9251. 00006140  4FEF 003A                lea.l      A7, [A7 + 0x3A]
  9252. 00006144  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  9253. 00006148  4E75                     rts
  9254. label0000614A:
  9255. 0000614A  D683                     add.l      D3, D3
  9256. 0000614C  2050                     movea.l    A0, [A0]
  9257. 0000614E  2810                     move.l     D4, [A0]
  9258. 00006150  2F44 002A                move.l     [A7 + 0x2A], D4
  9259. 00006154  7001                     moveq.l    D0, 0x01
  9260. 00006156  2F40 002E                move.l     [A7 + 0x2E], D0
  9261. 0000615A  DA85                     add.l      D5, D5
  9262. 0000615C  2046                     movea.l    A0, D6
  9263. 0000615E  2050                     movea.l    A0, [A0]
  9264. 00006160  2810                     move.l     D4, [A0]
  9265. 00006162  2F44 0022                move.l     [A7 + 0x22], D4
  9266. 00006166  7001                     moveq.l    D0, 0x01
  9267. 00006168  2F40 0026                move.l     [A7 + 0x26], D0
  9268. 0000616C  4857                     pea.l      [A7]
  9269. 0000616E  486D E5C8                pea.l      [A5 - 0x1A38]
  9270. 00006172  486F 0022                pea.l      [A7 + 0x22]
  9271. 00006176  4EAD D982                jsr        [A5 - 0x267E]
  9272. 0000617A  2F48 001A                move.l     [A7 + 0x1A], A0
  9273. 0000617E  4268 0004                clr.w      [A0 + 0x4]
  9274. 00006182  2003                     move.l     D0, D3
  9275. 00006184  D080                     add.l      D0, D0
  9276. 00006186  2205                     move.l     D1, D5
  9277. 00006188  D281                     add.l      D1, D1
  9278. 0000618A  D280                     add.l      D1, D0
  9279. 0000618C  E589                     lsl        D1, 2
  9280. 0000618E  2F01                     move.l     -[A7], D1
  9281. 00006190  4EAD D99A                jsr        [A5 - 0x2666]
  9282. 00006194  226F 001E                movea.l    A1, [A7 + 0x1E]
  9283. 00006198  2288                     move.l     [A1], A0
  9284. 0000619A  206F 001E                movea.l    A0, [A7 + 0x1E]
  9285. 0000619E  5268 0004                addq.w     [A0 + 0x4], 1
  9286. 000061A2  4AAF 002A                tst.l      [A7 + 0x2A]
  9287. 000061A6  57C0                     seq        D0
  9288. 000061A8  4400                     neg.b      D0
  9289. 000061AA  4880                     ext.w      D0
  9290. 000061AC  48C0                     ext.l      D0
  9291. 000061AE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9292. 000061B2  6716                     beq        +0x18 /* 000061CA */
  9293. 000061B4  246F 005A                movea.l    A2, [A7 + 0x5A]
  9294. 000061B8  4857                     pea.l      [A7]
  9295. 000061BA  4EAD D994                jsr        [A5 - 0x266C]
  9296. 000061BE  204A                     movea.l    A0, A2
  9297. 000061C0  4FEF 0036                lea.l      A7, [A7 + 0x36]
  9298. 000061C4  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  9299. 000061C8  4E75                     rts
  9300. label000061CA:
  9301. 000061CA  7800                     moveq.l    D4, 0x00
  9302. 000061CC  6000 014C                bra        +0x14E /* 0000631A */
  9303. label000061D0:
  9304. 000061D0  4A83                     tst.l      D3
  9305. 000061D2  6700 00C8                beq        +0xCA /* 0000629C */
  9306. 000061D6  4A85                     tst.l      D5
  9307. 000061D8  6700 00C2                beq        +0xC4 /* 0000629C */
  9308. 000061DC  4AAF 002E                tst.l      [A7 + 0x2E]
  9309. 000061E0  6608                     bne        +0xA /* 000061EA */
  9310. 000061E2  206F 002A                movea.l    A0, [A7 + 0x2A]
  9311. 000061E6  5888                     addq.l     A0, 4
  9312. 000061E8  6004                     bra        +0x6 /* 000061EE */
  9313. label000061EA:
  9314. 000061EA  206F 002A                movea.l    A0, [A7 + 0x2A]
  9315. label000061EE:
  9316. 000061EE  2C10                     move.l     D6, [A0]
  9317. 000061F0  4AAF 0026                tst.l      [A7 + 0x26]
  9318. 000061F4  6608                     bne        +0xA /* 000061FE */
  9319. 000061F6  206F 0022                movea.l    A0, [A7 + 0x22]
  9320. 000061FA  5888                     addq.l     A0, 4
  9321. 000061FC  6004                     bra        +0x6 /* 00006202 */
  9322. label000061FE:
  9323. 000061FE  206F 0022                movea.l    A0, [A7 + 0x22]
  9324. label00006202:
  9325. 00006202  2E10                     move.l     D7, [A0]
  9326. 00006204  BC87                     cmp.l      D6, D7
  9327. 00006206  6C2E                     bge        +0x30 /* 00006236 */
  9328. 00006208  2004                     move.l     D0, D4
  9329. 0000620A  5284                     addq.l     D4, 1
  9330. 0000620C  2440                     movea.l    A2, D0
  9331. 0000620E  200A                     move.l     D0, A2
  9332. 00006210  E588                     lsl        D0, 2
  9333. 00006212  206F 001A                movea.l    A0, [A7 + 0x1A]
  9334. 00006216  2186 0800                move.l     [A0 + D0], D6
  9335. 0000621A  4AAF 002E                tst.l      [A7 + 0x2E]
  9336. 0000621E  6706                     beq        +0x8 /* 00006226 */
  9337. 00006220  42AF 002E                clr.l      [A7 + 0x2E]
  9338. 00006224  600A                     bra        +0xC /* 00006230 */
  9339. label00006226:
  9340. 00006226  7001                     moveq.l    D0, 0x01
  9341. 00006228  2F40 002E                move.l     [A7 + 0x2E], D0
  9342. 0000622C  50AF 002A                addq.l     [A7 + 0x2A], 8
  9343. label00006230:
  9344. 00006230  5383                     subq.l     D3, 1
  9345. 00006232  6000 00E6                bra        +0xE8 /* 0000631A */
  9346. label00006236:
  9347. 00006236  BC87                     cmp.l      D6, D7
  9348. 00006238  6F2E                     ble        +0x30 /* 00006268 */
  9349. 0000623A  2004                     move.l     D0, D4
  9350. 0000623C  5284                     addq.l     D4, 1
  9351. 0000623E  2640                     movea.l    A3, D0
  9352. 00006240  200B                     move.l     D0, A3
  9353. 00006242  E588                     lsl        D0, 2
  9354. 00006244  206F 001A                movea.l    A0, [A7 + 0x1A]
  9355. 00006248  2187 0800                move.l     [A0 + D0], D7
  9356. 0000624C  4AAF 0026                tst.l      [A7 + 0x26]
  9357. 00006250  6706                     beq        +0x8 /* 00006258 */
  9358. 00006252  42AF 0026                clr.l      [A7 + 0x26]
  9359. 00006256  600A                     bra        +0xC /* 00006262 */
  9360. label00006258:
  9361. 00006258  7001                     moveq.l    D0, 0x01
  9362. 0000625A  2F40 0026                move.l     [A7 + 0x26], D0
  9363. 0000625E  50AF 0022                addq.l     [A7 + 0x22], 8
  9364. label00006262:
  9365. 00006262  5385                     subq.l     D5, 1
  9366. 00006264  6000 00B4                bra        +0xB6 /* 0000631A */
  9367. label00006268:
  9368. 00006268  4AAF 002E                tst.l      [A7 + 0x2E]
  9369. 0000626C  6706                     beq        +0x8 /* 00006274 */
  9370. 0000626E  42AF 002E                clr.l      [A7 + 0x2E]
  9371. 00006272  600A                     bra        +0xC /* 0000627E */
  9372. label00006274:
  9373. 00006274  7001                     moveq.l    D0, 0x01
  9374. 00006276  2F40 002E                move.l     [A7 + 0x2E], D0
  9375. 0000627A  50AF 002A                addq.l     [A7 + 0x2A], 8
  9376. label0000627E:
  9377. 0000627E  5383                     subq.l     D3, 1
  9378. 00006280  4AAF 0026                tst.l      [A7 + 0x26]
  9379. 00006284  6706                     beq        +0x8 /* 0000628C */
  9380. 00006286  42AF 0026                clr.l      [A7 + 0x26]
  9381. 0000628A  600A                     bra        +0xC /* 00006296 */
  9382. label0000628C:
  9383. 0000628C  7001                     moveq.l    D0, 0x01
  9384. 0000628E  2F40 0026                move.l     [A7 + 0x26], D0
  9385. 00006292  50AF 0022                addq.l     [A7 + 0x22], 8
  9386. label00006296:
  9387. 00006296  5385                     subq.l     D5, 1
  9388. 00006298  6000 0080                bra        +0x82 /* 0000631A */
  9389. label0000629C:
  9390. 0000629C  4A83                     tst.l      D3
  9391. 0000629E  673E                     beq        +0x40 /* 000062DE */
  9392. 000062A0  4AAF 002E                tst.l      [A7 + 0x2E]
  9393. 000062A4  6608                     bne        +0xA /* 000062AE */
  9394. 000062A6  206F 002A                movea.l    A0, [A7 + 0x2A]
  9395. 000062AA  5888                     addq.l     A0, 4
  9396. 000062AC  6004                     bra        +0x6 /* 000062B2 */
  9397. label000062AE:
  9398. 000062AE  206F 002A                movea.l    A0, [A7 + 0x2A]
  9399. label000062B2:
  9400. 000062B2  2004                     move.l     D0, D4
  9401. 000062B4  5284                     addq.l     D4, 1
  9402. 000062B6  2840                     movea.l    A4, D0
  9403. 000062B8  200C                     move.l     D0, A4
  9404. 000062BA  E588                     lsl        D0, 2
  9405. 000062BC  226F 001A                movea.l    A1, [A7 + 0x1A]
  9406. 000062C0  2390 0800                move.l     [A1 + D0], [A0]
  9407. 000062C4  4AAF 002E                tst.l      [A7 + 0x2E]
  9408. 000062C8  6706                     beq        +0x8 /* 000062D0 */
  9409. 000062CA  42AF 002E                clr.l      [A7 + 0x2E]
  9410. 000062CE  600A                     bra        +0xC /* 000062DA */
  9411. label000062D0:
  9412. 000062D0  7001                     moveq.l    D0, 0x01
  9413. 000062D2  2F40 002E                move.l     [A7 + 0x2E], D0
  9414. 000062D6  50AF 002A                addq.l     [A7 + 0x2A], 8
  9415. label000062DA:
  9416. 000062DA  5383                     subq.l     D3, 1
  9417. 000062DC  603C                     bra        +0x3E /* 0000631A */
  9418. label000062DE:
  9419. 000062DE  4AAF 0026                tst.l      [A7 + 0x26]
  9420. 000062E2  6608                     bne        +0xA /* 000062EC */
  9421. 000062E4  206F 0022                movea.l    A0, [A7 + 0x22]
  9422. 000062E8  5888                     addq.l     A0, 4
  9423. 000062EA  6004                     bra        +0x6 /* 000062F0 */
  9424. label000062EC:
  9425. 000062EC  206F 0022                movea.l    A0, [A7 + 0x22]
  9426. label000062F0:
  9427. 000062F0  2004                     move.l     D0, D4
  9428. 000062F2  5284                     addq.l     D4, 1
  9429. 000062F4  2C40                     movea.l    A6, D0
  9430. 000062F6  200E                     move.l     D0, A6
  9431. 000062F8  E588                     lsl        D0, 2
  9432. 000062FA  226F 001A                movea.l    A1, [A7 + 0x1A]
  9433. 000062FE  2390 0800                move.l     [A1 + D0], [A0]
  9434. 00006302  4AAF 0026                tst.l      [A7 + 0x26]
  9435. 00006306  6706                     beq        +0x8 /* 0000630E */
  9436. 00006308  42AF 0026                clr.l      [A7 + 0x26]
  9437. 0000630C  600A                     bra        +0xC /* 00006318 */
  9438. label0000630E:
  9439. 0000630E  7001                     moveq.l    D0, 0x01
  9440. 00006310  2F40 0026                move.l     [A7 + 0x26], D0
  9441. 00006314  50AF 0022                addq.l     [A7 + 0x22], 8
  9442. label00006318:
  9443. 00006318  5385                     subq.l     D5, 1
  9444. label0000631A:
  9445. 0000631A  4A83                     tst.l      D3
  9446. 0000631C  6600 FEB2                bne        -0x14C /* 000061D0 */
  9447. 00006320  4A85                     tst.l      D5
  9448. 00006322  6600 FEAC                bne        -0x152 /* 000061D0 */
  9449. 00006326  2604                     move.l     D3, D4
  9450. 00006328  E08B                     lsr        D3, 8
  9451. 0000632A  E08B                     lsr        D3, 8
  9452. 0000632C  E08B                     lsr        D3, 8
  9453. 0000632E  EE8B                     lsr        D3, 7
  9454. 00006330  D684                     add.l      D3, D4
  9455. 00006332  E283                     asr        D3, 1
  9456. 00006334  206F 005A                movea.l    A0, [A7 + 0x5A]
  9457. 00006338  2050                     movea.l    A0, [A0]
  9458. 0000633A  2003                     move.l     D0, D3
  9459. 0000633C  E788                     lsl        D0, 3
  9460. 0000633E  A024                     syscall    SetHandleSize
  9461. 00006340  206F 005A                movea.l    A0, [A7 + 0x5A]
  9462. 00006344  2143 0004                move.l     [A0 + 0x4], D3
  9463. 00006348  7800                     moveq.l    D4, 0x00
  9464. 0000634A  2050                     movea.l    A0, [A0]
  9465. 0000634C  2450                     movea.l    A2, [A0]
  9466. 0000634E  6028                     bra        +0x2A /* 00006378 */
  9467. label00006350:
  9468. 00006350  2004                     move.l     D0, D4
  9469. 00006352  5284                     addq.l     D4, 1
  9470. 00006354  2F40 0016                move.l     [A7 + 0x16], D0
  9471. 00006358  E588                     lsl        D0, 2
  9472. 0000635A  206F 001A                movea.l    A0, [A7 + 0x1A]
  9473. 0000635E  24B0 0800                move.l     [A2], [A0 + D0]
  9474. 00006362  2004                     move.l     D0, D4
  9475. 00006364  5284                     addq.l     D4, 1
  9476. 00006366  2F40 0012                move.l     [A7 + 0x12], D0
  9477. 0000636A  E588                     lsl        D0, 2
  9478. 0000636C  206F 001A                movea.l    A0, [A7 + 0x1A]
  9479. 00006370  2570 0800 0004           move.l     [A2 + 0x4], [A0 + D0]
  9480. 00006376  508A                     addq.l     A2, 8
  9481. label00006378:
  9482. 00006378  2003                     move.l     D0, D3
  9483. 0000637A  5383                     subq.l     D3, 1
  9484. 0000637C  4A80                     tst.l      D0
  9485. 0000637E  66D0                     bne        -0x2E /* 00006350 */
  9486. 00006380  246F 005A                movea.l    A2, [A7 + 0x5A]
  9487. 00006384  4857                     pea.l      [A7]
  9488. 00006386  4EAD D994                jsr        [A5 - 0x266C]
  9489. 0000638A  204A                     movea.l    A0, A2
  9490. 0000638C  4FEF 0036                lea.l      A7, [A7 + 0x36]
  9491. 00006390  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  9492. 00006394  4E75                     rts
  9493. 00006396  2F0A                     move.l     -[A7], A2
  9494. 00006398  246F 0008                movea.l    A2, [A7 + 0x8]
  9495. 0000639C  200A                     move.l     D0, A2
  9496. 0000639E  671C                     beq        +0x1E /* 000063BC */
  9497. 000063A0  4A6A 0004                tst.w      [A2 + 0x4]
  9498. 000063A4  6708                     beq        +0xA /* 000063AE */
  9499. 000063A6  2F12                     move.l     -[A7], [A2]
  9500. 000063A8  4EAD D9A0                jsr        [A5 - 0x2660]
  9501. 000063AC  584F                     addq.w     A7, 4
  9502. label000063AE:
  9503. 000063AE  4A6F 000C                tst.w      [A7 + 0xC]
  9504. 000063B2  6F08                     ble        +0xA /* 000063BC */
  9505. 000063B4  2F0A                     move.l     -[A7], A2
  9506. 000063B6  4EAD D9A0                jsr        [A5 - 0x2660]
  9507. 000063BA  584F                     addq.w     A7, 4
  9508. label000063BC:
  9509. 000063BC  204A                     movea.l    A0, A2
  9510. 000063BE  245F                     movea.l    A2, [A7]+
  9511. 000063C0  4E75                     rts
  9512. fn000063C2:
  9513. 000063C2  2F0B                     move.l     -[A7], A3
  9514. 000063C4  266F 0008                movea.l    A3, [A7 + 0x8]
  9515. 000063C8  242F 000C                move.l     D2, [A7 + 0xC]
  9516. 000063CC  222B 0004                move.l     D1, [A3 + 0x4]
  9517. 000063D0  4A81                     tst.l      D1
  9518. 000063D2  6704                     beq        +0x6 /* 000063D8 */
  9519. 000063D4  B481                     cmp.l      D2, D1
  9520. 000063D6  6506                     bcs        +0x8 /* 000063DE */
  9521. label000063D8:
  9522. 000063D8  7000                     moveq.l    D0, 0x00
  9523. 000063DA  265F                     movea.l    A3, [A7]+
  9524. 000063DC  4E75                     rts
  9525. label000063DE:
  9526. 000063DE  2002                     move.l     D0, D2
  9527. 000063E0  E788                     lsl        D0, 3
  9528. 000063E2  2253                     movea.l    A1, [A3]
  9529. 000063E4  2251                     movea.l    A1, [A1]
  9530. 000063E6  D3C0                     add.l      A1, D0
  9531. 000063E8  206F 0010                movea.l    A0, [A7 + 0x10]
  9532. 000063EC  2091                     move.l     [A0], [A1]
  9533. 000063EE  206F 0014                movea.l    A0, [A7 + 0x14]
  9534. 000063F2  20A9 0004                move.l     [A0], [A1 + 0x4]
  9535. 000063F6  7001                     moveq.l    D0, 0x01
  9536. 000063F8  265F                     movea.l    A3, [A7]+
  9537. 000063FA  4E75                     rts
  9538. fn000063FC:
  9539. 000063FC  48E7 1020                movem.l    -[A7], D3,A2
  9540. 00006400  4FEF FF9C                lea.l      A7, [A7 - 0x64]
  9541. 00006404  246F 0070                movea.l    A2, [A7 + 0x70]
  9542. 00006408  4AAA 0004                tst.l      [A2 + 0x4]
  9543. 0000640C  660C                     bne        +0xE /* 0000641A */
  9544. 0000640E  7001                     moveq.l    D0, 0x01
  9545. 00006410  4FEF 0064                lea.l      A7, [A7 + 0x64]
  9546. 00006414  4CDF 0408                movem.l    D3,A2, [A7]+
  9547. 00006418  4E75                     rts
  9548. label0000641A:
  9549. 0000641A  4878 0001                push.l     0x1
  9550. 0000641E  2F2F 007A                move.l     -[A7], [A7 + 0x7A]
  9551. 00006422  3F2F 007C                move.w     -[A7], [A7 + 0x7C]
  9552. 00006426  486F 0058                pea.l      [A7 + 0x58]
  9553. 0000642A  486D E540                pea.l      [A5 - 0x1AC0]
  9554. 0000642E  486F 0012                pea.l      [A7 + 0x12]
  9555. 00006432  4EAD D982                jsr        [A5 - 0x267E]
  9556. 00006436  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9557. 0000643A  2F08                     move.l     -[A7], A0
  9558. 0000643C  4EBA EBBE                jsr        [PC - 0x1442 /* 00004FFC */]
  9559. 00006440  486F 000E                pea.l      [A7 + 0xE]
  9560. 00006444  2057                     movea.l    A0, [A7]
  9561. 00006446  2250                     movea.l    A1, [A0]
  9562. 00006448  D1E9 000C                add.l      A0, [A1 + 0xC]
  9563. 0000644C  2E88                     move.l     [A7], A0
  9564. 0000644E  2269 0008                movea.l    A1, [A1 + 0x8]
  9565. 00006452  4E91                     jsr        [A1]
  9566. 00006454  4A80                     tst.l      D0
  9567. 00006456  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9568. 0000645A  6716                     beq        +0x18 /* 00006472 */
  9569. 0000645C  7600                     moveq.l    D3, 0x00
  9570. 0000645E  486F 004E                pea.l      [A7 + 0x4E]
  9571. 00006462  4EAD D994                jsr        [A5 - 0x266C]
  9572. 00006466  2003                     move.l     D0, D3
  9573. 00006468  4FEF 0068                lea.l      A7, [A7 + 0x68]
  9574. 0000646C  4CDF 0408                movem.l    D3,A2, [A7]+
  9575. 00006470  4E75                     rts
  9576. label00006472:
  9577. 00006472  7600                     moveq.l    D3, 0x00
  9578. 00006474  603A                     bra        +0x3C /* 000064B0 */
  9579. label00006476:
  9580. 00006476  2F2F 005C                move.l     -[A7], [A7 + 0x5C]
  9581. 0000647A  2F2F 0064                move.l     -[A7], [A7 + 0x64]
  9582. 0000647E  486F 0008                pea.l      [A7 + 0x8]
  9583. 00006482  2057                     movea.l    A0, [A7]
  9584. 00006484  2250                     movea.l    A1, [A0]
  9585. 00006486  D1E9 0014                add.l      A0, [A1 + 0x14]
  9586. 0000648A  2E88                     move.l     [A7], A0
  9587. 0000648C  2269 0010                movea.l    A1, [A1 + 0x10]
  9588. 00006490  4E91                     jsr        [A1]
  9589. 00006492  4A80                     tst.l      D0
  9590. 00006494  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9591. 00006498  6616                     bne        +0x18 /* 000064B0 */
  9592. 0000649A  7600                     moveq.l    D3, 0x00
  9593. 0000649C  486F 004E                pea.l      [A7 + 0x4E]
  9594. 000064A0  4EAD D994                jsr        [A5 - 0x266C]
  9595. 000064A4  2003                     move.l     D0, D3
  9596. 000064A6  4FEF 0068                lea.l      A7, [A7 + 0x68]
  9597. 000064AA  4CDF 0408                movem.l    D3,A2, [A7]+
  9598. 000064AE  4E75                     rts
  9599. label000064B0:
  9600. 000064B0  486F 005C                pea.l      [A7 + 0x5C]
  9601. 000064B4  486F 0064                pea.l      [A7 + 0x64]
  9602. 000064B8  2003                     move.l     D0, D3
  9603. 000064BA  5283                     addq.l     D3, 1
  9604. 000064BC  2F00                     move.l     -[A7], D0
  9605. 000064BE  2F0A                     move.l     -[A7], A2
  9606. 000064C0  4EBA FF00                jsr        [PC - 0x100 /* 000063C2 */]
  9607. 000064C4  4A80                     tst.l      D0
  9608. 000064C6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9609. 000064CA  66AA                     bne        -0x54 /* 00006476 */
  9610. 000064CC  7601                     moveq.l    D3, 0x01
  9611. 000064CE  486F 004E                pea.l      [A7 + 0x4E]
  9612. 000064D2  4EAD D994                jsr        [A5 - 0x266C]
  9613. 000064D6  2003                     move.l     D0, D3
  9614. 000064D8  4FEF 0068                lea.l      A7, [A7 + 0x68]
  9615. 000064DC  4CDF 0408                movem.l    D3,A2, [A7]+
  9616. 000064E0  4E75                     rts
  9617. fn000064E2:
  9618. 000064E2  514F                     subq.w     A7, 8
  9619. 000064E4  1F3C 0001                move.b     -[A7], 0x1
  9620. 000064E8  206F 000E                movea.l    A0, [A7 + 0xE]
  9621. 000064EC  2F28 0048                move.l     -[A7], [A0 + 0x48]
  9622. 000064F0  4EAD E818                jsr        [A5 - 0x17E8]
  9623. 000064F4  2F50 0006                move.l     [A7 + 0x6], [A0]
  9624. 000064F8  486F 000A                pea.l      [A7 + 0xA]
  9625. 000064FC  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  9626. 00006500  1F3C 0006                move.b     -[A7], 0x6
  9627. 00006504  206F 001C                movea.l    A0, [A7 + 0x1C]
  9628. 00006508  2F28 0048                move.l     -[A7], [A0 + 0x48]
  9629. 0000650C  4EAD E818                jsr        [A5 - 0x17E8]
  9630. 00006510  5C4F                     addq.w     A7, 6
  9631. 00006512  3F10                     move.w     -[A7], [A0]
  9632. 00006514  4EAD E1F0                jsr        [A5 - 0x1E10]
  9633. 00006518  4AAF 0014                tst.l      [A7 + 0x14]
  9634. 0000651C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9635. 00006520  6606                     bne        +0x8 /* 00006528 */
  9636. 00006522  91C8                     sub.l      A0, A0
  9637. 00006524  504F                     addq.w     A7, 8
  9638. 00006526  4E75                     rts
  9639. label00006528:
  9640. 00006528  206F 0004                movea.l    A0, [A7 + 0x4]
  9641. 0000652C  A04A                     syscall    HNoPurge
  9642. 0000652E  206F 0004                movea.l    A0, [A7 + 0x4]
  9643. 00006532  504F                     addq.w     A7, 8
  9644. 00006534  4E75                     rts
  9645. 00006536  0000 0000                ori.b      D0, 0x0
  9646. 0000653A  0000 0000                ori.b      D0, 0x0
  9647. 0000653E  0000 0000                ori.b      D0, 0x0
  9648.